scratchpads: when the scratchpad patch is added, the tagmask is altered, so to get a window onto all tags you have to do ~SPTAGSMASK instead of ~0 as otherwise it will interfere with the scratchpads, ref. #53
This commit is contained in:
@ -32,7 +32,11 @@ pertagview(const Arg *arg)
|
||||
if (arg->ui & TAGMASK) {
|
||||
selmon->pertag->prevtag = selmon->pertag->curtag;
|
||||
selmon->tagset[selmon->seltags] = arg->ui & TAGMASK;
|
||||
#if SCRATCHPADS_PATCH
|
||||
if (arg->ui == ~SPTAGMASK)
|
||||
#else
|
||||
if (arg->ui == ~0)
|
||||
#endif // SCRATCHPADS_PATCH
|
||||
selmon->pertag->curtag = 0;
|
||||
else {
|
||||
for (i = 0; !(arg->ui & 1 << i); i++) ;
|
||||
|
Reference in New Issue
Block a user