]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
add the left/right/top/bottom direction arrows and use them for resizing those ways
[chaz/openbox] / 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.020971 seconds and 4 git commands to generate.