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.
This commit is contained in:
Neil Roberts 2008-09-17 13:25:50 +00:00
parent 147880b148
commit 6dac43ddeb
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
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

View 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,