From 06f46b1603b4754558149883fe827031939cbc1c Mon Sep 17 00:00:00 2001 From: speedie <71722170+speediegq@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:29:35 +0200 Subject: [PATCH] Remove shiftview.c --- dwm/shiftview.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 dwm/shiftview.c diff --git a/dwm/shiftview.c b/dwm/shiftview.c deleted file mode 100644 index e82053a..0000000 --- a/dwm/shiftview.c +++ /dev/null @@ -1,19 +0,0 @@ -/** Function to shift the current view to the left/right - * - * @param: "arg->i" stores the number of tags to shift right (positive value) - * or left (negative value) - */ -void -shiftview(const Arg *arg) { - Arg shifted; - - if(arg->i > 0) // left circular shift - shifted.ui = (selmon->tagset[selmon->seltags] << arg->i) - | (selmon->tagset[selmon->seltags] >> (LENGTH(tags) - arg->i)); - - else // right circular shift - shifted.ui = selmon->tagset[selmon->seltags] >> (- arg->i) - | selmon->tagset[selmon->seltags] << (LENGTH(tags) + arg->i); - - view(&shifted); -}