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:
ebb97c1
)
ignore ancestor FocusIn events. i get them sometimes when hitting alt-tab and that...
author
Dana Jansens
<danakj@orodu.net>
Fri, 23 May 2003 01:27:46 +0000
(
01:27
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 23 May 2003 01:27:46 +0000
(
01:27
+0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
366e5eb
..
54db6cc
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-37,6
+37,7
@@
static void event_handle_client(Client *c, XEvent *e);
static void event_handle_menu(Menu *menu, Client *c, XEvent *e);
#define INVALID_FOCUSIN(e) ((e)->xfocus.detail == NotifyInferior || \
+ (e)->xfocus.detail == NotifyAncestor || \
(e)->xfocus.detail > NotifyNonlinearVirtual)
#define INVALID_FOCUSOUT(e) ((e)->xfocus.mode == NotifyGrab || \
(e)->xfocus.detail == NotifyInferior || \