Commit a58708c4 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix wrong sign for queued translation. (Found by Chris Blizzard, #100274)

Tue Dec  3 17:47:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
        sign for queued translation. (Found by Chris Blizzard,
        #100274)
parent 58d7ca81
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
sign for queued translation. (Found by Chris Blizzard,
#100274)
2002-12-03 Matthias Clasen <maclas@gmx.de> 2002-12-03 Matthias Clasen <maclas@gmx.de>
Moveresize emulation for all edges. (#52833) Moveresize emulation for all edges. (#52833)
......
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
sign for queued translation. (Found by Chris Blizzard,
#100274)
2002-12-03 Matthias Clasen <maclas@gmx.de> 2002-12-03 Matthias Clasen <maclas@gmx.de>
Moveresize emulation for all edges. (#52833) Moveresize emulation for all edges. (#52833)
......
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
sign for queued translation. (Found by Chris Blizzard,
#100274)
2002-12-03 Matthias Clasen <maclas@gmx.de> 2002-12-03 Matthias Clasen <maclas@gmx.de>
Moveresize emulation for all edges. (#52833) Moveresize emulation for all edges. (#52833)
......
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
sign for queued translation. (Found by Chris Blizzard,
#100274)
2002-12-03 Matthias Clasen <maclas@gmx.de> 2002-12-03 Matthias Clasen <maclas@gmx.de>
Moveresize emulation for all edges. (#52833) Moveresize emulation for all edges. (#52833)
......
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
sign for queued translation. (Found by Chris Blizzard,
#100274)
2002-12-03 Matthias Clasen <maclas@gmx.de> 2002-12-03 Matthias Clasen <maclas@gmx.de>
Moveresize emulation for all edges. (#52833) Moveresize emulation for all edges. (#52833)
......
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
sign for queued translation. (Found by Chris Blizzard,
#100274)
2002-12-03 Matthias Clasen <maclas@gmx.de> 2002-12-03 Matthias Clasen <maclas@gmx.de>
Moveresize emulation for all edges. (#52833) Moveresize emulation for all edges. (#52833)
......
...@@ -331,8 +331,8 @@ gdk_window_guffaw_scroll (GdkWindow *window, ...@@ -331,8 +331,8 @@ gdk_window_guffaw_scroll (GdkWindow *window,
gdk_window_tmp_unset_bg (window); gdk_window_tmp_unset_bg (window);
if (d_xoffset < 0 || d_yoffset < 0) if (dx > 0 || dy > 0)
gdk_window_queue_translation (window, MIN (d_xoffset, 0), MIN (d_yoffset, 0)); gdk_window_queue_translation (window, MAX (dx, 0), MAX (dy, 0));
gdk_window_set_static_gravities (window, TRUE); gdk_window_set_static_gravities (window, TRUE);
...@@ -357,8 +357,8 @@ gdk_window_guffaw_scroll (GdkWindow *window, ...@@ -357,8 +357,8 @@ gdk_window_guffaw_scroll (GdkWindow *window,
GDK_WINDOW_XID (window), GDK_WINDOW_XID (window),
new_position.x - d_xoffset, new_position.y - d_yoffset); new_position.x - d_xoffset, new_position.y - d_yoffset);
if (d_xoffset > 0 || d_yoffset > 0) if (dx < 0 || dy < 0)
gdk_window_queue_translation (window, MAX (d_xoffset, 0), MAX (d_yoffset, 0)); gdk_window_queue_translation (window, MIN (dx, 0), MIN (dy, 0));
XMoveResizeWindow (GDK_WINDOW_XDISPLAY (window), XMoveResizeWindow (GDK_WINDOW_XDISPLAY (window),
GDK_WINDOW_XID (window), GDK_WINDOW_XID (window),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment