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:
2572f11
)
always set focus_out, since a focusin can come first and mess up the old logic
author
Dana Jansens
<danakj@orodu.net>
Fri, 3 Oct 2003 07:24:33 +0000
(07:24 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 3 Oct 2003 07:24:33 +0000
(07:24 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index eff9d5907b256fe2c3597931086711cfa1fea60e..8a15d789f398bbfa606f5fd32e5fdd9cf7abc96d 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-597,10
+597,9
@@
static void event_handle_client(ObClient *client, XEvent *e)
e->xfocus.window, client->window,
e->xfocus.mode, e->xfocus.detail);
#endif
+ focus_out = client;
if (focus_in == client)
focus_in = NULL;
- if (client == focus_client)
- focus_out = client;
break;
case LeaveNotify:
con = frame_context(client, e->xcrossing.window);