dont ignore all Virtual pointer events
This commit is contained in:
parent
1923939bba
commit
793099ce57
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ static gboolean event_ignore(XEvent *e, Client *client)
|
||||||
/* NotifyVirtual occurs when ungrabbing the pointer */
|
/* 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)
|
(e->xcrossing.mode == NotifyUngrab &&
|
||||||
|
e->xcrossing.detail == NotifyVirtual))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue