From 706ff83a7dab8a85fa08ebccbc37b00a16572797 Mon Sep 17 00:00:00 2001 From: "Ivan, Wong Yat Cheung" Date: Sat, 12 Mar 2005 22:09:54 +0000 Subject: [PATCH] A further fix for big window support. Now also the test in testgtk works. 2005-03-13 Ivan, Wong Yat Cheung * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix for big window support. Now also the test in testgtk works. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/win32/gdkgeometry-win32.c | 2 ++ 4 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4627cba819..8211db0eff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-13 Ivan, Wong Yat Cheung + + * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix + for big window support. Now also the test in testgtk works. + 2005-03-11 Matthias Clasen * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 4627cba819..8211db0eff 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-03-13 Ivan, Wong Yat Cheung + + * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix + for big window support. Now also the test in testgtk works. + 2005-03-11 Matthias Clasen * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 4627cba819..8211db0eff 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-03-13 Ivan, Wong Yat Cheung + + * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix + for big window support. Now also the test in testgtk works. + 2005-03-11 Matthias Clasen * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on diff --git a/gdk/win32/gdkgeometry-win32.c b/gdk/win32/gdkgeometry-win32.c index ea36ac9a14..deb8bfa0a6 100644 --- a/gdk/win32/gdkgeometry-win32.c +++ b/gdk/win32/gdkgeometry-win32.c @@ -167,6 +167,8 @@ gdk_window_scroll (GdkWindow *window, tmp_list = obj->children; while (tmp_list) { + GDK_WINDOW_OBJECT(tmp_list->data)->x += dx; + GDK_WINDOW_OBJECT(tmp_list->data)->y += dy; gdk_window_postmove (tmp_list->data, &parent_pos, FALSE); tmp_list = tmp_list->next; }