From 793099ce575a3723ab8221028bca5762396fcb2b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 17 Apr 2003 08:04:45 +0000 Subject: [PATCH] dont ignore all Virtual pointer events --- openbox/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.45.2