From: Dana Jansens Date: Thu, 17 Apr 2003 08:04:45 +0000 (+0000) Subject: dont ignore all Virtual pointer events X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=793099ce575a3723ab8221028bca5762396fcb2b;p=chaz%2Fopenbox dont ignore all Virtual pointer events --- diff --git a/openbox/event.c b/openbox/event.c index 6cc8b1f0..0427d142 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -308,7 +308,8 @@ static gboolean event_ignore(XEvent *e, Client *client) /* NotifyVirtual occurs when ungrabbing the pointer */ if (e->xcrossing.mode == NotifyGrab || e->xcrossing.detail == NotifyInferior || - e->xcrossing.detail == NotifyVirtual) + (e->xcrossing.mode == NotifyUngrab && + e->xcrossing.detail == NotifyVirtual)) return TRUE; break; }