From 8a769eaf0339c40dbdd4875fc14994e60e250193 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 17 Jan 2026 16:18:58 +0800 Subject: [PATCH] opt: not allow mutitag client in scroller_stack actino --- src/dispatch/bind_define.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index 28a7b5c..9694d9b 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -1599,6 +1599,9 @@ int32_t scroller_stack(const Arg *arg) { if (!c || c->isfloating || !is_scroller_layout(selmon)) return 0; + if (c && (!client_only_in_one_tag(c) || c->isglobal || c->isunglobal)) + return 0; + Client *target_client = find_client_by_direction(c, arg, false, true); if (target_client && (!client_only_in_one_tag(target_client) ||