From: Dana Jansens Date: Thu, 17 Apr 2003 01:48:26 +0000 (+0000) Subject: ignore virtual crossing events.. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=450c21d0cac6c95b44fb1f85ad74a9896dabd687;p=chaz%2Fopenbox ignore virtual crossing events.. --- diff --git a/openbox/event.c b/openbox/event.c index 796c243d..042a76dc 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -304,8 +304,10 @@ static gboolean event_ignore(XEvent *e, Client *client) case LeaveNotify: /* NotifyUngrab occurs when a mouse button is released and the event is caused, like when lowering a window */ + /* NotifyVirtual occurs when ungrabbing the pointer */ if (e->xcrossing.mode == NotifyGrab || - e->xcrossing.detail == NotifyInferior) + e->xcrossing.detail == NotifyInferior || + e->xcrossing.detail == NotifyVirtual) return TRUE; break; }