focus fallback
This commit is contained in:
parent
53109b7592
commit
ebbcacae15
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
/* Look for the followup FocusIn */
|
/* Look for the followup FocusIn */
|
||||||
if (!XCheckIfEvent(ob_display, &ce, look_for_focusin, NULL)) {
|
if (!XCheckIfEvent(ob_display, &ce, look_for_focusin, NULL)) {
|
||||||
/* There is no FocusIn, move focus where we can still hear events*/
|
/* 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) {
|
} else if (ce.xany.window == e->xany.window) {
|
||||||
/* If focus didn't actually move anywhere, there is nothing to do*/
|
/* If focus didn't actually move anywhere, there is nothing to do*/
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue