mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
shiftviewclients: fixed bug when scratchpad is enabled
This commit is contained in:
parent
5132e3a289
commit
3b5f3f66ce
@ -16,7 +16,11 @@ shiftviewclients(const Arg *arg)
|
|||||||
tagmask = tagmask | c->tags;
|
tagmask = tagmask | c->tags;
|
||||||
#endif // SCRATCHPADS_PATCH
|
#endif // SCRATCHPADS_PATCH
|
||||||
|
|
||||||
|
#if SCRATCHPADS_PATCH
|
||||||
|
shifted.ui = selmon->tagset[selmon->seltags] & ~SPTAGMASK;
|
||||||
|
#else
|
||||||
shifted.ui = selmon->tagset[selmon->seltags];
|
shifted.ui = selmon->tagset[selmon->seltags];
|
||||||
|
#endif // SCRATCHPADS_PATCH
|
||||||
if (arg->i > 0) // left circular shift
|
if (arg->i > 0) // left circular shift
|
||||||
do {
|
do {
|
||||||
shifted.ui = (shifted.ui << arg->i)
|
shifted.ui = (shifted.ui << arg->i)
|
||||||
|
Loading…
Reference in New Issue
Block a user