opt: allow focustop get monocle hide client

This commit is contained in:
DreamMaoMao 2026-06-18 14:54:50 +08:00
parent 45b752920e
commit 727b9fe77e

View file

@ -312,7 +312,7 @@ Client *direction_select(const Arg *arg) {
Client *focustop(Monitor *m) { Client *focustop(Monitor *m) {
Client *c = NULL; Client *c = NULL;
wl_list_for_each(c, &fstack, flink) { wl_list_for_each(c, &fstack, flink) {
if (c->iskilling || c->isunglobal || c->is_monocle_hide) if (c->iskilling || c->isunglobal)
continue; continue;
if (VISIBLEON(c, m)) if (VISIBLEON(c, m))
return c; return c;