diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-20 02:51:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-20 02:51:42 +0000 |
| commit | fa6f70ce3a1e5aff0cdafb4b641128f360278f2a (patch) | |
| tree | 86b13fd7203c1db2139fdde9fc1be4af77731fe9 /openbox/screen.c | |
| parent | 07cabeb9467eff55132153a4b4715fcb45ba5e96 (diff) | |
get the offscreen pixmaps for all windows (including their frames)
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) |
