diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-11 19:26:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-11 19:26:28 +0000 |
| commit | d98a6183a38a8f2b88707c3b4955d10dc09e4a71 (patch) | |
| tree | f900c3c743720837614802f940281dbaf9caa996 /openbox | |
| parent | e714fa7351579c86291361e2a523682df8640184 (diff) | |
oh.. wasted verbosity.. *strums guitar*
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 4 |
1 files 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; } |
