]> Dogcows Code - chaz/openbox/commitdiff
ignore ungrab enter notifies for focus
authorDana Jansens <danakj@orodu.net>
Sun, 21 Sep 2003 19:42:01 +0000 (19:42 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 21 Sep 2003 19:42:01 +0000 (19:42 +0000)
openbox/event.c

index c32d8bae630eeb67084b9ab67507f036cab43d69..fc82e628cbd811d380c7cdfae9f4d90d262fa4d1 100644 (file)
@@ -739,7 +739,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
         case OB_FRAME_CONTEXT_FRAME:
             if (!nofocus && client_normal(client) && config_focus_follow) {
                 if (e->xcrossing.mode == NotifyGrab ||
-                    e->xcrossing.detail == NotifyInferior)
+                    e->xcrossing.detail == NotifyInferior ||
+                    e->xcrossing.mode == NotifyUngrab)
                 {
 #ifdef DEBUG_FOCUS
                     ob_debug("%sNotify mode %d detail %d on %lx IGNORED\n",
This page took 0.024977 seconds and 4 git commands to generate.