diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-19 21:52:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-19 21:52:44 +0000 |
| commit | ad4def8e521c449628f6e69b13a7eca63b152793 (patch) | |
| tree | d9018fc95e9fe2a6b96cd6c7d02ebde48ff3a455 /openbox/screen.c | |
| parent | 85c15cf7b6f66729695609339b21b16649ee92c8 (diff) | |
check for damage and render extensions if going to use composite. require them for it. also include the cflags/libs. and only run the xcomposite stuff so far when the server supports it
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index d5a51941..1ef08075 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -365,10 +365,12 @@ void screen_startup(gboolean reconfig) } #ifdef USE_XCOMPOSITE - /* Redirect window contents to offscreen pixmaps */ - XCompositeRedirectSubwindows(ob_display, - RootWindow(ob_display, ob_screen), - CompositeRedirectAutomatic); + if (extensions_comp) { + /* Redirect window contents to offscreen pixmaps */ + XCompositeRedirectSubwindows(ob_display, + RootWindow(ob_display, ob_screen), + CompositeRedirectAutomatic); + } #endif /* get the initial size */ |
