ignore virtual crossing events..
This commit is contained in:
parent
8d3829d160
commit
450c21d0ca
1 changed files with 3 additions and 1 deletions
|
@ -304,8 +304,10 @@ static gboolean event_ignore(XEvent *e, Client *client)
|
||||||
case LeaveNotify:
|
case LeaveNotify:
|
||||||
/* NotifyUngrab occurs when a mouse button is released and the event is
|
/* NotifyUngrab occurs when a mouse button is released and the event is
|
||||||
caused, like when lowering a window */
|
caused, like when lowering a window */
|
||||||
|
/* NotifyVirtual occurs when ungrabbing the pointer */
|
||||||
if (e->xcrossing.mode == NotifyGrab ||
|
if (e->xcrossing.mode == NotifyGrab ||
|
||||||
e->xcrossing.detail == NotifyInferior)
|
e->xcrossing.detail == NotifyInferior ||
|
||||||
|
e->xcrossing.detail == NotifyVirtual)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue