From d98a6183a38a8f2b88707c3b4955d10dc09e4a71 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 11 Mar 2007 19:26:28 +0000 Subject: [PATCH] oh.. wasted verbosity.. *strums guitar* --- openbox/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.45.2