From: Dana Jansens Date: Thu, 10 Jun 2010 20:00:23 +0000 (-0400) Subject: don't draw windows if they are not "visible" rather than only considering their curre... X-Git-Tag: cgl~50 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=2af38edeccac1c3328f858a8691ebc430dd00578;p=dana%2Fopenbox.git don't draw windows if they are not "visible" rather than only considering their current desktop --- 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; }