From 81b3aca9d87cd76f7938945c91435529885da53e Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 7 Jul 2025 23:25:05 +0800 Subject: [PATCH] opt: not apply tagmon action in some case --- src/maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maomao.c b/src/maomao.c index 08c986f..d2fbbe5 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -5702,7 +5702,7 @@ void tagmon(const Arg *arg) { m = dirtomon(arg->i); - if (!m) + if (!m || !m->wlr_output->enabled || m == c->mon) return; unsigned int newtags = arg->ui ? c->tags : 0;