[gtk+/client-side-windows: 202/284] Update clip region etc, when creating a foreign window
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 202/284] Update clip region etc, when creating a foreign window
- Date: Thu, 2 Apr 2009 14:16:54 -0400 (EDT)
commit bfd29e62b593f00a72c9c0c17843221da5cc5373
Author: Alexander Larsson <alexl redhat com>
Date: Thu Jan 29 14:29:23 2009 +0100
Update clip region etc, when creating a foreign window
---
gdk/x11/gdkwindow-x11.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 0089d1e..7f783a9 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -942,6 +942,10 @@ gdk_window_foreign_new_for_display (GdkDisplay *display,
g_object_ref (window);
_gdk_xid_table_insert (display, &GDK_WINDOW_XID (window), window);
+
+ /* Update the clip region, etc */
+ _gdk_window_update_size (window);
+
return window;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]