diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-01-12 14:24:44 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-01-12 14:24:44 -0500 |
| commit | 60da42738a44896956b4cb31a00e686e40e11fc3 (patch) | |
| tree | f9057e3bc90e186ef84b8fc4b91957aab42320f7 | |
| parent | e0a94b7b8a820968bd6b82ca510c529b878c158d (diff) | |
| download | dwm-60da42738a44896956b4cb31a00e686e40e11fc3.tar.gz | |
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.
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |