From 6dac43ddebb927b0365d8ecbc93553d4577bdfbc Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Wed, 17 Sep 2008 13:25:50 +0000 Subject: [PATCH] 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. --- ChangeLog | 9 +++++++++ clutter/glx/clutter-stage-glx.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9692218..0ca5ae4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2008-09-17 Neil Roberts + 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 + * clutter/clutter-types.h: Swap left and right in the documentation for ClutterGravity. diff --git a/clutter/glx/clutter-stage-glx.c b/clutter/glx/clutter-stage-glx.c index 8c5af3f..b5aa6db 100644 --- a/clutter/glx/clutter-stage-glx.c +++ b/clutter/glx/clutter-stage-glx.c @@ -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, -- 2.7.4