From 6b2ef05dcfb62f65c5150f9bca6da78b0268ae96 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 15 Jun 2025 21:51:29 +0800 Subject: [PATCH] fix: scratchpad window can't enable when toggle by change tag --- src/maomao.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/maomao.c b/src/maomao.c index 573cbc9..d16ded2 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -1617,6 +1617,7 @@ void swallow(Client *c, Client *w) { bool switch_scratchpad_client_state(Client *c) { if (c->is_in_scratchpad && c->is_scratchpad_show && (selmon->tagset[selmon->seltags] & c->tags) == 0) { + c->is_clip_to_hide = false; unsigned int target = get_tags_first_tag(selmon->tagset[selmon->seltags]); tag_client(&(Arg){.ui = target}, c);