redirect window contents to offscreen pixmaps with composite so they are available for use.
This commit is contained in:
parent
31bc465749
commit
85c15cf7b6
1 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue