[gtk+] wayland: ensure the clip region is updated after the window size is updated



commit 9cb197abc210dc6a50fa5185fb7fce5172effe50
Author: Thomas Wood <thomas wood intel com>
Date:   Tue May 14 15:25:30 2013 +0100

    wayland: ensure the clip region is updated after the window size is updated
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700301

 gdk/wayland/gdkwindow-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 146e0a1..1e7eba1 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -736,8 +736,8 @@ gdk_wayland_window_configure (GdkWindow *window,
   event->configure.width = width;
   event->configure.height = height;
 
-  _gdk_window_update_size (window);
   gdk_wayland_window_update_size (window, width, height, edges);
+  _gdk_window_update_size (window);
 
   g_object_ref(window);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]