]> Dogcows Code - chaz/openbox/commitdiff
ignore virtual crossing events..
authorDana Jansens <danakj@orodu.net>
Thu, 17 Apr 2003 01:48:26 +0000 (01:48 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 17 Apr 2003 01:48:26 +0000 (01:48 +0000)
openbox/event.c

index 796c243d00e004a786c00e5e70e89110f734b1c5..042a76dc93d04037286b84bf9ce4941f35e63ca5 100644 (file)
@@ -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;
     }
This page took 0.022252 seconds and 4 git commands to generate.