redirect window contents to offscreen pixmaps with composite so they are available for use.

This commit is contained in:
Dana Jansens 2007-06-19 21:40:57 +00:00
parent 31bc465749
commit 85c15cf7b6

View file

@ -364,6 +364,13 @@ void screen_startup(gboolean reconfig)
return;
}
#ifdef USE_XCOMPOSITE
/* Redirect window contents to offscreen pixmaps */
XCompositeRedirectSubwindows(ob_display,
RootWindow(ob_display, ob_screen),
CompositeRedirectAutomatic);
#endif
/* get the initial size */
screen_resize();