opt: allow switch focus between fullscreen and floating window in focusstack

This commit is contained in:
DreamMaoMao 2025-10-27 12:46:04 +08:00
parent 9b5f05e718
commit 31f376f998
4 changed files with 13 additions and 2 deletions

View file

@ -592,6 +592,7 @@ arrange(Monitor *m, bool want_animation) {
return;
m->visible_clients = 0;
m->visible_tiling_clients = 0;
m->has_visible_fullscreen_client = false;
wl_list_for_each(c, &clients, link) {
@ -603,6 +604,10 @@ arrange(Monitor *m, bool want_animation) {
if (VISIBLEON(c, m)) {
m->visible_clients++;
if (c->isfullscreen)
m->has_visible_fullscreen_client = true;
if (ISTILED(c)) {
m->visible_tiling_clients++;
}