]> Dogcows Code - chaz/openbox/commitdiff
dont ignore all Virtual pointer events
authorDana Jansens <danakj@orodu.net>
Thu, 17 Apr 2003 08:04:45 +0000 (08:04 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 17 Apr 2003 08:04:45 +0000 (08:04 +0000)
openbox/event.c

index 6cc8b1f0625f78d3623a6c80f47c517e88de371d..0427d14205254cc51d1c3e444c56182797ffab72 100644 (file)
@@ -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;
     }
This page took 0.027346 seconds and 4 git commands to generate.