From 60da42738a44896956b4cb31a00e686e40e11fc3 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 12 Jan 2022 14:24:44 -0500 Subject: Scratchpads no longer show while viewing all tags Probably not the best way to do this, but it was the most straightforward. When viewing all tags, I manually unset all the scratchpad tags by ^= the monitor's tagset with SPTAGMASK. --- dwm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 2c45858..e592be9 100644 --- a/dwm.c +++ b/dwm.c @@ -2451,8 +2451,10 @@ view(const Arg *arg) selmon->tagset[selmon->seltags] = arg->ui & TAGMASK; selmon->pertag->prevtag = selmon->pertag->curtag; - if (arg->ui == ~0) + if (arg->ui == ~0) { selmon->pertag->curtag = 0; + selmon->tagset[selmon->seltags] ^= SPTAGMASK; + } else { for (i = 0; !(arg->ui & 1 << i); i++) ; selmon->pertag->curtag = i + 1; -- cgit v1.2.3