summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-17 08:04:45 +0000
committerDana Jansens <danakj@orodu.net>2003-04-17 08:04:45 +0000
commit793099ce575a3723ab8221028bca5762396fcb2b (patch)
tree84d39243af75ebd8f35487010e78e605075bb69a
parent1923939bba3c1b2590d14adf01b667eee40fa8cf (diff)
dont ignore all Virtual pointer events
-rw-r--r--openbox/event.c3
1 files changed, 2 insertions, 1 deletions
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;
}