From 2af38edeccac1c3328f858a8691ebc430dd00578 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jun 2010 16:00:23 -0400 Subject: [PATCH] don't draw windows if they are not "visible" rather than only considering their current desktop --- openbox/composite.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openbox/composite.c b/openbox/composite.c index 2c46144f..76c6c204 100644 --- a/openbox/composite.c +++ b/openbox/composite.c @@ -362,8 +362,7 @@ static gboolean composite(gpointer data) if (win->type == OB_WINDOW_CLASS_CLIENT) { client = WINDOW_AS_CLIENT(win); - if ((client->desktop != screen_desktop) - && (client->desktop != DESKTOP_ALL)) + if (!client->frame->visible) continue; } -- 2.39.2