]> Dogcows Code - chaz/openbox/commitdiff
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 92489827e81cdfa2635529ca5e5d81fca5886c24..7c29f9f2fbb352494fa3bc7722e37c5f8e1fed92 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;
         }
 
This page took 0.025291 seconds and 4 git commands to generate.