[gtk+/broadway: 24/71] [broadway] don't sync the root window



commit 95df67f47bbd930b4a7f647321d0b9a8ebada023
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Nov 19 21:55:13 2010 +0100

    [broadway] don't sync the root window

 gdk/broadway/gdkwindow-broadway.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c
index 92e28eb..a0e0c22 100644
--- a/gdk/broadway/gdkwindow-broadway.c
+++ b/gdk/broadway/gdkwindow-broadway.c
@@ -207,6 +207,9 @@ _gdk_broadway_resync_windows (void)
 
       private = (GdkWindowObject*) GDK_DRAWABLE_IMPL_BROADWAY (impl)->wrapper;
 
+      if (impl->id == 0)
+	continue; /* Skip root */
+
       impl->dirty = FALSE;
       impl->last_synced = FALSE;
       g_print ("creating new window %d at %d,%d %dx%d\n",



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