ignore ancestor FocusIn events. i get them sometimes when hitting alt-tab and that totally fucks it up cuz it cancels teh alt-tab process.
This commit is contained in:
parent
ebb97c189a
commit
493e7d4a6e
1 changed files with 1 additions and 0 deletions
|
@ -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 || \
|
||||
|
|
Loading…
Reference in a new issue