oops, logic error
authorDana Jansens <danakj@orodu.net>
Sat, 17 Mar 2007 20:06:16 +0000 (20:06 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 17 Mar 2007 20:06:16 +0000 (20:06 +0000)
openbox/client.c

index 9248982..7c29f9f 100644 (file)
@@ -417,7 +417,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->can_focus && focus_client->focus_notify)
+            if (!(focus_client->can_focus || focus_client->focus_notify))
                 activate = FALSE;
         }