mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
shiftviewclients: compatibility changes for scratchpads and scratchpad_alt_1 patches
This commit is contained in:
parent
6321b52a30
commit
a713e73a37
@ -6,7 +6,15 @@ shiftviewclients(const Arg *arg)
|
||||
unsigned int tagmask = 0;
|
||||
|
||||
for (c = selmon->clients; c; c = c->next)
|
||||
#if SCRATCHPADS_PATCH
|
||||
if (!(c->tags & SPTAGMASK))
|
||||
tagmask = tagmask | c->tags;
|
||||
#elif SCRATCHPAD_ALT_1_PATCH
|
||||
if (!(c->tags & SCRATCHPAD_MASK))
|
||||
tagmask = tagmask | c->tags;
|
||||
#else
|
||||
tagmask = tagmask | c->tags;
|
||||
#endif // SCRATCHPADS_PATCH
|
||||
|
||||
shifted.ui = selmon->tagset[selmon->seltags];
|
||||
if (arg->i > 0) // left circular shift
|
||||
|
Loading…
Reference in New Issue
Block a user