Bugfix: When focusing the next floating window, descend the CT_FLOATING_CON
makes t/35-floating-focus.t pass again
This commit is contained in:
parent
5eef824495
commit
44c2555e67
|
@ -642,6 +642,10 @@ Con *con_next_focused(Con *con) {
|
||||||
DLOG("Focus list empty, returning ws\n");
|
DLOG("Focus list empty, returning ws\n");
|
||||||
next = ws;
|
next = ws;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
/* Instead of returning the next CT_FLOATING_CON, we descend it to
|
||||||
|
* get an actual window to focus. */
|
||||||
|
next = con_descend_focused(next);
|
||||||
}
|
}
|
||||||
return next;
|
return next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue