don't draw windows if they are not "visible" rather than only considering their curre...
authorDana Jansens <danakj@orodu.net>
Thu, 10 Jun 2010 20:00:23 +0000 (16:00 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Jun 2010 23:30:48 +0000 (01:30 +0200)
openbox/composite.c

index 2c46144..76c6c20 100644 (file)
@@ -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;
         }