mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
shift: skip sticky clients when working out which tags are occupied ref. #387
This commit is contained in:
parent
332c90049d
commit
ad9664fa01
@ -18,6 +18,10 @@ shift(const Arg *arg, int clients)
|
|||||||
for (c = selmon->clients; c && clients; c = c->next) {
|
for (c = selmon->clients; c && clients; c = c->next) {
|
||||||
if (c == selmon->sel)
|
if (c == selmon->sel)
|
||||||
continue;
|
continue;
|
||||||
|
#if STICKY_PATCH
|
||||||
|
if (c->issticky)
|
||||||
|
continue;
|
||||||
|
#endif // STICKY_PATCH
|
||||||
#if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH
|
#if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH
|
||||||
if (!(c->tags & SPTAGMASK))
|
if (!(c->tags & SPTAGMASK))
|
||||||
tagmask |= c->tags;
|
tagmask |= c->tags;
|
||||||
|
Loading…
Reference in New Issue
Block a user