]> Dogcows Code - chaz/openbox/commitdiff
.. i am pretending to be mika :D :D ok this time for real
authorDana Jansens <danakj@orodu.net>
Sun, 11 Mar 2007 19:27:16 +0000 (19:27 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Mar 2007 19:27:16 +0000 (19:27 +0000)
openbox/client.c

index 5408b18fa9a20a64b8dc6c8c24b4dedcdd416092..8358293dcfd5f8f178be90bd10fb1acbaf2d1a40 100644 (file)
@@ -468,8 +468,7 @@ void client_manage(Window window)
         /* If a nothing at all, or a parent was focused, then focus this
            always
         */
-        if (client_search_focus_parent(self) != NULL ||
-            !focus_client)
+        if (!focus_client || client_search_focus_parent(self) != NULL)
         {
             activate = TRUE;
         }
@@ -481,8 +480,7 @@ void client_manage(Window window)
             /* Don't steal focus from globally active clients.
                I stole this idea from KWin. It seems nice.
              */
-            if (focus_client && !focus_client->can_focus &&
-                focus_client->focus_notify)
+            if (!focus_client->can_focus && focus_client->focus_notify)
             {
                 activate = FALSE;
             }
This page took 0.02744 seconds and 4 git commands to generate.