diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-10-07 06:25:34 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-10-07 06:25:34 +0530 |
commit | a68fa48d4c932ef2421a32fcc62209a579552c39 (patch) | |
tree | 059cfa1a491e16db1cd34fef96f92eb582f5aaf8 /dwm.c | |
parent | 9534d2022231104fea918f45fd7195c5d88867d9 (diff) |
personal config changesdwm-6.4
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -238,7 +238,7 @@ static void movemouse(const Arg *arg); static unsigned int nexttag(void); static Client *nexttiled(Client *c); static void pop(Client *c); -static unsigned int prevtag(void); +static unsigned int nexttagnoskip(void); static void propertynotify(XEvent *e); static void quit(const Arg *arg); static Monitor *recttomon(int x, int y, int w, int h); @@ -295,7 +295,7 @@ static void updatewindowtype(Client *c); static void updatewmhints(Client *c); static void view(const Arg *arg); static void viewnext(const Arg *arg); -static void viewprev(const Arg *arg); +static void viewnextnoskip(const Arg *arg); static Client *wintoclient(Window w); static Monitor *wintomon(Window w); static Client *wintosystrayicon(Window w); @@ -1526,7 +1526,7 @@ pop(Client *c) } unsigned int -prevtag(void) +nexttagnoskip(void) { unsigned int seltag = selmon->tagset[selmon->seltags]; unsigned int usedtags = 0; @@ -2120,7 +2120,7 @@ tagtoprev(const Arg *arg) if (selmon->sel == NULL) return; - if ((tmp = prevtag()) == selmon->tagset[selmon->seltags]) + if ((tmp = nexttagnoskip()) == selmon->tagset[selmon->seltags]) return; tag(&(const Arg){.ui = tmp }); @@ -2821,9 +2821,9 @@ viewnext(const Arg *arg) } void -viewprev(const Arg *arg) +viewnextnoskip(const Arg *arg) { - view(&(const Arg){.ui = prevtag()}); + view(&(const Arg){.ui = nexttagnoskip()}); } Client * |