]> Dogcows Code - chaz/openbox/commitdiff
oh.. wasted verbosity.. *strums guitar*
authorDana Jansens <danakj@orodu.net>
Sun, 11 Mar 2007 19:26:28 +0000 (19:26 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Mar 2007 19:26:28 +0000 (19:26 +0000)
openbox/client.c

index b8959a42f4cdcb08306a37d4351aa3f43f7e51c8..5408b18fa9a20a64b8dc6c8c24b4dedcdd416092 100644 (file)
@@ -481,8 +481,8 @@ void client_manage(Window window)
             /* Don't steal focus from globally active clients.
                I stole this idea from KWin. It seems nice.
              */
             /* Don't steal focus from globally active clients.
                I stole this idea from KWin. It seems nice.
              */
-            if (focus_client && focus_client->can_focus != TRUE &&
-                focus_client->focus_notify == TRUE)
+            if (focus_client && !focus_client->can_focus &&
+                focus_client->focus_notify)
             {
                 activate = FALSE;
             }
             {
                 activate = FALSE;
             }
This page took 0.023815 seconds and 4 git commands to generate.