X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=d5a5194183688c81c3cea835a6bee44d0a7c8024;hb=85c15cf7b6f66729695609339b21b16649ee92c8;hp=f9b1eb6c643da0489eb01ff139b8e794db1335ca;hpb=8923bd7026755ecc35898c5573fa9c6670a8c56b;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index f9b1eb6c..d5a51941 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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();