]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
don't assert, users can bind stuff however they like. but if they do something that...
[chaz/openbox] / openbox / event.c
index 0e731b083779291028bc0a49c75c5c180e77ced8..a2571f0e112dac34c82fca7e537b48b07d003b6b 100644 (file)
@@ -394,6 +394,9 @@ static void print_focusevent(XEvent *e)
     case NotifyDetailNone:  detailstr="NotifyDetailNone";  break;
     }
 
+    if (mode == NotifyGrab || mode == NotifyUngrab)
+        return;
+
     g_assert(modestr);
     g_assert(detailstr);
     ob_debug_type(OB_DEBUG_FOCUS, "Focus%s 0x%x mode=%s detail=%s\n",
This page took 0.022339 seconds and 4 git commands to generate.