projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e714fa7
)
oh.. wasted verbosity.. *strums guitar*
author
Dana Jansens
<danakj@orodu.net>
Sun, 11 Mar 2007 19:26:28 +0000
(19:26 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 11 Mar 2007 19:26:28 +0000
(19:26 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index b8959a42f4cdcb08306a37d4351aa3f43f7e51c8..5408b18fa9a20a64b8dc6c8c24b4dedcdd416092 100644
(file)
--- 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;
}