all repos — openbox @ ebbcacae15d51a7e36ebc27a8bb80bbe2b7c0a5f

openbox fork - make it a bit more like ryudo

focus fallback
Mikael Magnusson mikachu@comhem.se
commit

ebbcacae15d51a7e36ebc27a8bb80bbe2b7c0a5f

parent

53109b7592500b71f8c670ea58b0182193ba9a71

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -656,7 +656,7 @@ case FocusOut:

/* 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;