dont ignore all Virtual pointer events

This commit is contained in:
Dana Jansens 2003-04-17 08:04:45 +00:00
parent 1923939bba
commit 793099ce57

View file

@ -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;
} }