]> Dogcows Code - chaz/openbox/commitdiff
redirect window contents to offscreen pixmaps with composite so they are available...
authorDana Jansens <danakj@orodu.net>
Tue, 19 Jun 2007 21:40:57 +0000 (21:40 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 19 Jun 2007 21:40:57 +0000 (21:40 +0000)
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.02307 seconds and 4 git commands to generate.