summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/dwm.c b/dwm.c
index 72f3e89..4e5f723 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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 *