X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=a2571f0e112dac34c82fca7e537b48b07d003b6b;hb=47c8d407295bd910b2482f472d0a7e3892031647;hp=0e731b083779291028bc0a49c75c5c180e77ced8;hpb=7af7ee05aa7b23abd478cd848c7767c09474ebeb;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 0e731b08..a2571f0e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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",