From 450c21d0cac6c95b44fb1f85ad74a9896dabd687 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 17 Apr 2003 01:48:26 +0000 Subject: [PATCH] ignore virtual crossing events.. --- openbox/event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.2