]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
get the offscreen pixmaps for all windows (including their frames)
[chaz/openbox] / openbox / screen.c
index 0f42b81c9c0d776fa20d642d9aa8a26e8983675c..4abf5b6ceac19e3abd5f3d04f7df182238ff294c 100644 (file)
@@ -364,15 +364,6 @@ 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();
 
@@ -499,6 +490,9 @@ void screen_resize()
 
     for (it = client_list; it; it = g_list_next(it))
         client_move_onscreen(it->data, FALSE);
+
+    /* this needs to be setup whenever the root window's size changes */
+    composite_setup_root_window();
 }
 
 void screen_set_num_desktops(guint num)
This page took 0.023448 seconds and 4 git commands to generate.