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:
@ -642,6 +642,10 @@ Con *con_next_focused(Con *con) {
|
||||
DLOG("Focus list empty, returning ws\n");
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user