From 1c5f2977962faa0ab8122ca8c7e43f104aeb096d Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sun, 28 Nov 2021 09:51:18 +0100 Subject: [PATCH] fix scratchpad detection when moving traditionally --- dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index c66eb8e..f4e697c 100644 --- a/dwm.c +++ b/dwm.c @@ -1496,7 +1496,8 @@ scan(void) void sendmon(Client *c, Monitor *m) { - sendmontags(c, m, m->tagset[m->seltags]); + unsigned int tags_without_sp=m->tagset[m->seltags] & TAGMASK; + sendmontags(c, m, tags_without_sp); } void