summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tag.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/tag.c b/tag.c
index fafc2c5..962b484 100644
--- a/tag.c
+++ b/tag.c
@@ -33,22 +33,19 @@ static unsigned int len = 0;
33/* extern */ 33/* extern */
34 34
35Client * 35Client *
36getnext(Client *c) 36getnext(Client *c) {
37{
38 for(; c && !isvisible(c); c = c->next); 37 for(; c && !isvisible(c); c = c->next);
39 return c; 38 return c;
40} 39}
41 40
42Client * 41Client *
43getprev(Client *c) 42getprev(Client *c) {
44{
45 for(; c && !isvisible(c); c = c->prev); 43 for(; c && !isvisible(c); c = c->prev);
46 return c; 44 return c;
47} 45}
48 46
49void 47void
50initrregs() 48initrregs() {
51{
52 unsigned int i; 49 unsigned int i;
53 regex_t *reg; 50 regex_t *reg;
54 51
@@ -76,8 +73,7 @@ initrregs()
76} 73}
77 74
78void 75void
79settags(Client *c, Client *trans) 76settags(Client *c, Client *trans) {
80{
81 char prop[512]; 77 char prop[512];
82 unsigned int i, j; 78 unsigned int i, j;
83 regmatch_t tmp; 79 regmatch_t tmp;
@@ -114,8 +110,7 @@ settags(Client *c, Client *trans)
114} 110}
115 111
116void 112void
117tag(Arg *arg) 113tag(Arg *arg) {
118{
119 unsigned int i; 114 unsigned int i;
120 115
121 if(!sel) 116 if(!sel)
@@ -129,8 +124,7 @@ tag(Arg *arg)
129} 124}
130 125
131void 126void
132toggletag(Arg *arg) 127toggletag(Arg *arg) {
133{
134 unsigned int i; 128 unsigned int i;
135 129
136 if(!sel) 130 if(!sel)