diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-19 21:40:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-19 21:40:57 +0000 |
| commit | 85c15cf7b6f66729695609339b21b16649ee92c8 (patch) | |
| tree | 77d8262cbd5d8e0a0ca796a579d66cb5647f4582 | |
| parent | 31bc46574974642b768bee15f1d0e8c9f2635984 (diff) | |
redirect window contents to offscreen pixmaps with composite so they are available for use.
| -rw-r--r-- | openbox/screen.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index f9b1eb6c..d5a51941 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -364,6 +364,13 @@ void screen_startup(gboolean reconfig) return; } +#ifdef USE_XCOMPOSITE + /* Redirect window contents to offscreen pixmaps */ + XCompositeRedirectSubwindows(ob_display, + RootWindow(ob_display, ob_screen), + CompositeRedirectAutomatic); +#endif + /* get the initial size */ screen_resize(); |
