]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
check for damage and render extensions if going to use composite. require them for...
[chaz/openbox] / openbox / screen.c
index d5a5194183688c81c3cea835a6bee44d0a7c8024..1ef080752dbfdb50a885b10e27f83d7b3a39a23a 100644 (file)
@@ -365,10 +365,12 @@ void screen_startup(gboolean reconfig)
     }
 
 #ifdef USE_XCOMPOSITE
-    /* Redirect window contents to offscreen pixmaps */
-    XCompositeRedirectSubwindows(ob_display,
-                                 RootWindow(ob_display, ob_screen),
-                                 CompositeRedirectAutomatic);
+    if (extensions_comp) {
+        /* Redirect window contents to offscreen pixmaps */
+        XCompositeRedirectSubwindows(ob_display,
+                                     RootWindow(ob_display, ob_screen),
+                                     CompositeRedirectAutomatic);
+    }
 #endif
 
     /* get the initial size */
This page took 0.02196 seconds and 4 git commands to generate.