aewl
changeset 420:c033e1ade281
s/growcol/resizetile/g
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Tue, 05 Sep 2006 13:25:42 +0200 |
parents | 7a65674a0fd7 |
children | ca2d99d8b8fc |
files | config.arg.h config.default.h dwm.h view.c |
diffstat | 4 files changed, 15 insertions(+), 15 deletions(-) [+] |
line diff
1.1 --- a/config.arg.h Tue Sep 05 13:21:59 2006 +0200 1.2 +++ b/config.arg.h Tue Sep 05 13:25:42 2006 +0200 1.3 @@ -34,7 +34,7 @@ 1.4 { MODKEY, XK_k, focusprev, { 0 } }, \ 1.5 { MODKEY, XK_Return, zoom, { 0 } }, \ 1.6 { MODKEY, XK_m, togglemax, { 0 } }, \ 1.7 - { MODKEY, XK_g, growcol, { .i = 20 } }, \ 1.8 + { MODKEY, XK_g, resizetile, { .i = 20 } }, \ 1.9 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ 1.10 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ 1.11 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
2.1 --- a/config.default.h Tue Sep 05 13:21:59 2006 +0200 2.2 +++ b/config.default.h Tue Sep 05 13:25:42 2006 +0200 2.3 @@ -29,7 +29,7 @@ 2.4 { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ 2.5 { MODKEY, XK_Return, zoom, { 0 } }, \ 2.6 { MODKEY, XK_m, togglemax, { 0 } }, \ 2.7 - { MODKEY, XK_g, growcol, { .i = 20 } }, \ 2.8 + { MODKEY, XK_g, resizetile, { .i = 20 } }, \ 2.9 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ 2.10 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ 2.11 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
3.1 --- a/dwm.h Tue Sep 05 13:21:59 2006 +0200 3.2 +++ b/dwm.h Tue Sep 05 13:25:42 2006 +0200 3.3 @@ -131,8 +131,8 @@ 3.4 extern void dotile(Arg *arg); 3.5 extern void focusnext(Arg *arg); 3.6 extern void focusprev(Arg *arg); 3.7 -extern void growcol(Arg *arg); 3.8 extern Bool isvisible(Client *c); 3.9 +extern void resizetile(Arg *arg); 3.10 extern void restack(); 3.11 extern void togglemode(Arg *arg); 3.12 extern void toggleview(Arg *arg);
4.1 --- a/view.c Tue Sep 05 13:21:59 2006 +0200 4.2 +++ b/view.c Tue Sep 05 13:25:42 2006 +0200 4.3 @@ -169,8 +169,19 @@ 4.4 } 4.5 } 4.6 4.7 +Bool 4.8 +isvisible(Client *c) 4.9 +{ 4.10 + unsigned int i; 4.11 + 4.12 + for(i = 0; i < ntags; i++) 4.13 + if(c->tags[i] && seltag[i]) 4.14 + return True; 4.15 + return False; 4.16 +} 4.17 + 4.18 void 4.19 -growcol(Arg *arg) 4.20 +resizetile(Arg *arg) 4.21 { 4.22 Client *c = getnext(clients); 4.23 4.24 @@ -189,17 +200,6 @@ 4.25 arrange(NULL); 4.26 } 4.27 4.28 -Bool 4.29 -isvisible(Client *c) 4.30 -{ 4.31 - unsigned int i; 4.32 - 4.33 - for(i = 0; i < ntags; i++) 4.34 - if(c->tags[i] && seltag[i]) 4.35 - return True; 4.36 - return False; 4.37 -} 4.38 - 4.39 void 4.40 restack() 4.41 {