mirror of
https://github.com/LukeSmithxyz/dwm.git
synced 2026-10-05 06:12:34 +03:00
fix shifttag bug
shifttag to right used to shift the window in to the scratchpad
This commit is contained in:
+2
-1
@@ -46,7 +46,7 @@ shifttag(const Arg *arg)
|
||||
nextseltags = (curseltags << i) | (curseltags >> (LENGTH(tags) - i));
|
||||
|
||||
else // right circular shift
|
||||
nextseltags = curseltags >> (- i) | (curseltags << (LENGTH(tags) + i));
|
||||
nextseltags = (curseltags >> - i) | (curseltags << (LENGTH(tags) + i));
|
||||
|
||||
// Check if tag is visible
|
||||
for (c = selmon->clients; c && !visible; c = c->next)
|
||||
@@ -62,3 +62,4 @@ shifttag(const Arg *arg)
|
||||
tag(&a);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user