]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
redirect window contents to offscreen pixmaps with composite so they are available...
[chaz/openbox] / openbox / screen.c
index f9b1eb6c643da0489eb01ff139b8e794db1335ca..d5a5194183688c81c3cea835a6bee44d0a7c8024 100644 (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();
 
This page took 0.021537 seconds and 4 git commands to generate.