summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tag.c b/tag.c
index 5da3c31..21eb9fa 100644
--- a/tag.c
+++ b/tag.c
@@ -140,6 +140,13 @@ getnext(Client *c, unsigned int t)
140 return c; 140 return c;
141} 141}
142 142
143Client *
144getprev(Client *c)
145{
146 for(; c && !c->tags[tsel]; c = c->prev);
147 return c;
148}
149
143void 150void
144heretag(Arg *arg) 151heretag(Arg *arg)
145{ 152{