[gtk+/client-side-windows: 141/284] Update the window size after getting windowDidResize



commit 036e045d53a54339fe37d1c2b99e4421aefd8d71
Author: Richard Hult <richard imendio com>
Date:   Wed Jan 7 21:26:55 2009 +0100

    Update the window size after getting windowDidResize
---
 gdk/quartz/GdkQuartzWindow.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gdk/quartz/GdkQuartzWindow.c b/gdk/quartz/GdkQuartzWindow.c
index 627798d..282b65b 100644
--- a/gdk/quartz/GdkQuartzWindow.c
+++ b/gdk/quartz/GdkQuartzWindow.c
@@ -170,6 +170,8 @@
 
   [[self contentView] setFrame:NSMakeRect (0, 0, private->width, private->height)];
 
+  _gdk_window_update_size (window);
+
   /* Synthesize a configure event */
   event = gdk_event_new (GDK_CONFIGURE);
   event->configure.window = g_object_ref (window);



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