From 85c15cf7b6f66729695609339b21b16649ee92c8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 19 Jun 2007 21:40:57 +0000 Subject: [PATCH] redirect window contents to offscreen pixmaps with composite so they are available for use. --- openbox/screen.c | 7 +++++++ 1 file changed, 7 insertions(+) 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(); -- 2.44.0