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:
6e29605
)
dont set the focused client if it's already set
author
Dana Jansens
<danakj@orodu.net>
Tue, 18 Mar 2003 09:08:55 +0000
(09:08 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 18 Mar 2003 09:08:55 +0000
(09:08 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index cb2ed093bce4f7584770d85ce06b9207647200b1..43142e3a47ffefe81a0341d437c9a8d972b6e4d7 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-332,7
+332,8
@@
static void event_handle_client(Client *client, XEvent *e)
/* focus state can affect the stacking layer */
client_calc_layer(client);
- focus_set_client(client);
+ if (focus_client != client)
+ focus_set_client(client);
break;
case FocusOut:
client->focused = FALSE;