]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
dont count focusin on the support window to be a focusin on a client
[chaz/openbox] / openbox / event.c
index 699dfdd1a5164f6b762e4f66c0300e74d6eab822..ead80a1f2ab1fd241354f130e48c93f7404ea0f3 100644 (file)
@@ -363,7 +363,8 @@ static Bool look_for_focusin(Display *d, XEvent *e, XPointer arg)
 
 static Bool look_for_focusin_client(Display *d, XEvent *e, XPointer arg)
 {
-    return e->type == FocusIn && wanted_focusevent(e, TRUE);
+    return e->type == FocusIn && wanted_focusevent(e, TRUE) &&
+        e->xfocus.window != screen_support_win;
 }
 
 static void print_focusevent(XEvent *e)
This page took 0.024511 seconds and 4 git commands to generate.