1
0
Fork 0

[x11] Remove a useless forced paint

We force the redraw before mapping, in the hope that when a composited
window manager maps the window it will have its contents ready; that is
not going to work: the solution for this problem requires the implementation
of a protocol for compositors, and not a hack.

Moreover, painting before mapping will cause a paint with the wrong
GL viewport size, which is the wrong thing to do on GLX.
This commit is contained in:
Emmanuele Bassi 2009-10-05 12:21:02 +01:00
parent 6988744db7
commit e3c2ed0009

View file

@ -542,11 +542,6 @@ clutter_stage_x11_show (ClutterStageWindow *stage_window,
clutter_actor_map (CLUTTER_ACTOR (stage_x11->wrapper));
/* we force a redraw here, so that by the time we have
* been mapped, the window has contents
*/
_clutter_do_redraw (CLUTTER_STAGE (stage_x11->wrapper));
XMapWindow (stage_x11->xdpy, stage_x11->xwin);
}
}