From fa444a52d157592df67c8c11e897de47a74f8381 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 5 Oct 2025 21:16:19 +0800 Subject: [PATCH] opt: allow foucstack next when fullscreen client has children --- src/dispatch/bind_define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index cf67fc4..a75df4d 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -192,7 +192,7 @@ focusstack(const Arg *arg) { Client *sel = focustop(selmon); Client *tc = NULL; - if (!sel || sel->isfullscreen) + if (!sel || (sel->isfullscreen && !client_has_children(sel))) return; if (arg->i == NEXT) { tc = get_next_stack_client(sel, false);