From: Dana Jansens Date: Sun, 11 Mar 2007 19:26:28 +0000 (+0000) Subject: oh.. wasted verbosity.. *strums guitar* X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d98a6183a38a8f2b88707c3b4955d10dc09e4a71;hp=e714fa7351579c86291361e2a523682df8640184;p=chaz%2Fopenbox oh.. wasted verbosity.. *strums guitar* --- diff --git a/openbox/client.c b/openbox/client.c index b8959a42..5408b18f 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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. */ - 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; }