]> git.armaanb.net Git - dwm.git/commitdiff
s/growcol/resizetile/g
authorAnselm R. Garbe <arg@10kloc.org>
Tue, 5 Sep 2006 11:25:42 +0000 (13:25 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Tue, 5 Sep 2006 11:25:42 +0000 (13:25 +0200)
config.arg.h
config.default.h
dwm.h
view.c

index f60079cabfc4bfb1e84521d68a65c44e09e65dcf..683311ea1292f44af0191e0ac38d56c3eb56db9d 100644 (file)
@@ -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 } }, \
index 2fff7d499820d1791feea90eb1220c2be2f75cc9..c1452e87c8315ab657c6cc593475276f73338d37 100644 (file)
@@ -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 0c37711bec1fe68ea068e5aaa317cd0fb1db090a..dfa10341d76b6b3a232e5ecfb54a7f1e5e3ad12c 100644 (file)
--- 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 4c656f31d31c6df7abfa6b001fb325b739e8232b..09ee49785e9faccc4ed7d49b9a81cf560373978f 100644 (file)
--- 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()
 {