From: Mikael Magnusson Date: Wed, 14 Mar 2007 01:17:39 +0000 (+0000) Subject: focus fallback X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=ebbcacae15d51a7e36ebc27a8bb80bbe2b7c0a5f;p=chaz%2Fopenbox focus fallback --- diff --git a/openbox/event.c b/openbox/event.c index 6d6ff28a..7eef8017 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -656,7 +656,7 @@ static void event_handle_client(ObClient *client, XEvent *e) /* Look for the followup FocusIn */ if (!XCheckIfEvent(ob_display, &ce, look_for_focusin, NULL)) { /* There is no FocusIn, move focus where we can still hear events*/ - focus_set_client(NULL); + focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS); } else if (ce.xany.window == e->xany.window) { /* If focus didn't actually move anywhere, there is nothing to do*/ break;