From: Dana Jansens Date: Tue, 19 Jun 2007 21:40:57 +0000 (+0000) Subject: redirect window contents to offscreen pixmaps with composite so they are available... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=85c15cf7b6f66729695609339b21b16649ee92c8;p=chaz%2Fopenbox redirect window contents to offscreen pixmaps with composite so they are available for use. --- 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();