summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-14 22:54:09 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-14 22:54:09 +0200
commitc0705eeb65733e8c5091e47d5bdc701a0779a949 (patch)
tree0a33e58c24419ff6e12f5401e3bfd65c1e90dfa3 /screen.c
parentrearranged (diff)
downloaddwm-c0705eeb65733e8c5091e47d5bdc701a0779a949.tar.gz
dwm-c0705eeb65733e8c5091e47d5bdc701a0779a949.zip
sanitized names
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/screen.c b/screen.c
index f2891cf..d313955 100644
--- a/screen.c
+++ b/screen.c
@@ -15,9 +15,9 @@ view(Arg *arg)
15 tsel = arg->i; 15 tsel = arg->i;
16 arrange(NULL); 16 arrange(NULL);
17 17
18 for(c = clients; c; c = next(c->next)) 18 for(c = clients; c; c = getnext(c->next))
19 draw_client(c); 19 drawtitle(c);
20 draw_bar(); 20 drawstatus();
21} 21}
22 22
23void 23void
@@ -30,15 +30,15 @@ floating(Arg *arg)
30 if(c->tags[tsel]) 30 if(c->tags[tsel])
31 resize(c, True); 31 resize(c, True);
32 else 32 else
33 ban_client(c); 33 ban(c);
34 } 34 }
35 if(sel && !sel->tags[tsel]) { 35 if(sel && !sel->tags[tsel]) {
36 if((sel = next(clients))) { 36 if((sel = getnext(clients))) {
37 craise(sel); 37 higher(sel);
38 focus(sel); 38 focus(sel);
39 } 39 }
40 } 40 }
41 draw_bar(); 41 drawstatus();
42} 42}
43 43
44void 44void
@@ -61,7 +61,7 @@ tiling(Arg *arg)
61 for(i = 0, c = clients; c; c = c->next) { 61 for(i = 0, c = clients; c; c = c->next) {
62 if(c->tags[tsel]) { 62 if(c->tags[tsel]) {
63 if(c->floating) { 63 if(c->floating) {
64 craise(c); 64 higher(c);
65 resize(c, True); 65 resize(c, True);
66 continue; 66 continue;
67 } 67 }
@@ -87,14 +87,14 @@ tiling(Arg *arg)
87 i++; 87 i++;
88 } 88 }
89 else 89 else
90 ban_client(c); 90 ban(c);
91 } 91 }
92 if(!sel || (sel && !sel->tags[tsel])) { 92 if(!sel || (sel && !sel->tags[tsel])) {
93 if((sel = next(clients))) { 93 if((sel = getnext(clients))) {
94 craise(sel); 94 higher(sel);
95 focus(sel); 95 focus(sel);
96 } 96 }
97 } 97 }
98 draw_bar(); 98 drawstatus();
99} 99}
100 100