diff options
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 12 |
1 files changed, 3 insertions, 9 deletions
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) |
