aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe2006-09-05 13:25:42 +0200
committerAnselm R. Garbe2006-09-05 13:25:42 +0200
commit40bd21ce631073e7badd3d9617c273f44711c059 (patch)
treec9b54819d1fbd4c75d5be121ce510832444d26ad
parent4633fbec616d2f130dfd5d8677e103cf47d26c15 (diff)
s/growcol/resizetile/g
-rw-r--r--config.arg.h2
-rw-r--r--config.default.h2
-rw-r--r--dwm.h2
-rw-r--r--view.c24
4 files changed, 15 insertions, 15 deletions
diff --git a/config.arg.h b/config.arg.h
index f60079c..683311e 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -34,7 +34,7 @@ static Key key[] = { \
{ MODKEY, XK_k, focusprev, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY, XK_m, togglemax, { 0 } }, \
- { MODKEY, XK_g, growcol, { .i = 20 } }, \
+ { MODKEY, XK_g, resizetile, { .i = 20 } }, \
{ MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
diff --git a/config.default.h b/config.default.h
index 2fff7d4..c1452e8 100644
--- a/config.default.h
+++ b/config.default.h
@@ -29,7 +29,7 @@ static Key key[] = { \
{ MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY, XK_m, togglemax, { 0 } }, \
- { MODKEY, XK_g, growcol, { .i = 20 } }, \
+ { MODKEY, XK_g, resizetile, { .i = 20 } }, \
{ MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
diff --git a/dwm.h b/dwm.h
index 0c37711..dfa1034 100644
--- a/dwm.h
+++ b/dwm.h
@@ -131,8 +131,8 @@ extern void dofloat(Arg *arg);
extern void dotile(Arg *arg);
extern void focusnext(Arg *arg);
extern void focusprev(Arg *arg);
-extern void growcol(Arg *arg);
extern Bool isvisible(Client *c);
+extern void resizetile(Arg *arg);
extern void restack();
extern void togglemode(Arg *arg);
extern void toggleview(Arg *arg);
diff --git a/view.c b/view.c
index 4c656f3..09ee497 100644
--- a/view.c
+++ b/view.c
@@ -169,8 +169,19 @@ focusprev(Arg *arg)
}
}
+Bool
+isvisible(Client *c)
+{
+ unsigned int i;
+
+ for(i = 0; i < ntags; i++)
+ if(c->tags[i] && seltag[i])
+ return True;
+ return False;
+}
+
void
-growcol(Arg *arg)
+resizetile(Arg *arg)
{
Client *c = getnext(clients);
@@ -189,17 +200,6 @@ growcol(Arg *arg)
arrange(NULL);
}
-Bool
-isvisible(Client *c)
-{
- unsigned int i;
-
- for(i = 0; i < ntags; i++)
- if(c->tags[i] && seltag[i])
- return True;
- return False;
-}
-
void
restack()
{