Bug 1145 - Flicker on resize the window
authorNeil Roberts <neil@openedhand.com>
Wed, 17 Sep 2008 13:25:50 +0000 (13:25 +0000)
committerNeil Roberts <neil@openedhand.com>
Wed, 17 Sep 2008 13:25:50 +0000 (13:25 +0000)
* clutter/glx/clutter-stage-glx.c (clutter_stage_glx_realize):
Don't set a backing pixel on the X window. Otherwise when the
window resizes it will flicker when X paints the background
immediatly before Clutter repaints the whole stage.

ChangeLog
clutter/glx/clutter-stage-glx.c

index 9692218..0ca5ae4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-09-17  Neil Roberts  <neil@linux.intel.com>
 
+       Bug 1145 - Flicker on resize the window
+
+       * clutter/glx/clutter-stage-glx.c (clutter_stage_glx_realize):
+       Don't set a backing pixel on the X window. Otherwise when the
+       window resizes it will flicker when X paints the background
+       immediatly before Clutter repaints the whole stage.
+
+2008-09-17  Neil Roberts  <neil@linux.intel.com>
+
        * clutter/clutter-types.h: Swap left and right in the
        documentation for ClutterGravity.
 
index 8c5af3f..b5aa6db 100644 (file)
@@ -167,7 +167,7 @@ clutter_stage_glx_realize (ClutterActor *actor)
                                             stage_x11->xwin_root,
                                             stage_x11->xvisinfo->visual,
                                             AllocNone);
-          mask = CWBackPixel | CWBorderPixel | CWColormap;
+          mask = CWBorderPixel | CWColormap;
           stage_x11->xwin = XCreateWindow (stage_x11->xdpy,
                                            stage_x11->xwin_root,
                                            0, 0,