From fa6f70ce3a1e5aff0cdafb4b641128f360278f2a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 20 Jun 2007 02:51:42 +0000 Subject: get the offscreen pixmaps for all windows (including their frames) --- openbox/screen.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index 0f42b81c..4abf5b6c 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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) -- cgit v1.2.3