]> Pileus Git - ~andy/gtk/commitdiff
Fix root window size changes
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 29 Jun 2006 15:13:56 +0000 (15:13 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 29 Jun 2006 15:13:56 +0000 (15:13 +0000)
ChangeLog
ChangeLog.pre-2-10
gdk/x11/gdkevents-x11.c

index 6dadb27429e38134e59ad729242460bf1802481a..66a71b8ae1da55b33c2d6db978950e3136cc8fbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-2006-06-26  Matthias Clasen  <mclasen@redhat.com>
+2006-06-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the 
+       size of the drawable for the root window when the screen size 
+       changes.  (#346102, Sven Herzberg)
+
+2006-06-29  Matthias Clasen  <mclasen@redhat.com>
 
        * NEWS: Updates
 
index 6dadb27429e38134e59ad729242460bf1802481a..66a71b8ae1da55b33c2d6db978950e3136cc8fbc 100644 (file)
@@ -1,4 +1,10 @@
-2006-06-26  Matthias Clasen  <mclasen@redhat.com>
+2006-06-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the 
+       size of the drawable for the root window when the screen size 
+       changes.  (#346102, Sven Herzberg)
+
+2006-06-29  Matthias Clasen  <mclasen@redhat.com>
 
        * NEWS: Updates
 
index d64925b9e5bb567f98a7e7c3e021d08c700d0f84..52e4aca346df15e1567484f8286e07282fb1fc86 100644 (file)
@@ -1819,7 +1819,13 @@ gdk_event_translate (GdkDisplay *display,
                           ? " (discarding substructure)"
                           : ""));
       if (window && GDK_WINDOW_TYPE (window) == GDK_WINDOW_ROOT)
-       _gdk_x11_screen_size_changed (screen, xevent);
+        { 
+         window_impl->width = xevent->xconfigure.width;
+         window_impl->height = xevent->xconfigure.height;
+         
+         _gdk_x11_drawable_update_size (window_private->impl);
+         _gdk_x11_screen_size_changed (screen, xevent);
+        }
 
       if (window &&
          xevent->xconfigure.event == xevent->xconfigure.window &&