ignore all NotifyInferior crossing events again
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -303,6 +303,11 @@
static gboolean event_ignore(XEvent *e, ObClient *client) { switch(e->type) { + case EnterNotify: + case LeaveNotify: + if (e->xcrossing.detail == NotifyInferior) + return TRUE; + break; case FocusIn: /* NotifyAncestor is not ignored in FocusIn like it is in FocusOut because of RevertToPointerRoot. If the focus ends up reverting to@@ -753,7 +758,6 @@ frame_adjust_state(client->frame);
break; case OB_FRAME_CONTEXT_FRAME: if (e->xcrossing.mode == NotifyGrab || - e->xcrossing.detail == NotifyInferior || e->xcrossing.mode == NotifyUngrab) { #ifdef DEBUG_FOCUS