X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=1ef080752dbfdb50a885b10e27f83d7b3a39a23a;hb=ad4def8e521c449628f6e69b13a7eca63b152793;hp=f9b1eb6c643da0489eb01ff139b8e794db1335ca;hpb=8923bd7026755ecc35898c5573fa9c6670a8c56b;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index f9b1eb6c..1ef08075 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -364,6 +364,15 @@ void screen_startup(gboolean reconfig) return; } +#ifdef USE_XCOMPOSITE + if (extensions_comp) { + /* Redirect window contents to offscreen pixmaps */ + XCompositeRedirectSubwindows(ob_display, + RootWindow(ob_display, ob_screen), + CompositeRedirectAutomatic); + } +#endif + /* get the initial size */ screen_resize();