JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
renamed resizecol into resizemaster
authorarg@mig29 <unknown>
Tue, 31 Oct 2006 11:07:32 +0000 (12:07 +0100)
committerarg@mig29 <unknown>
Tue, 31 Oct 2006 11:07:32 +0000 (12:07 +0100)
config.arg.h
config.default.h
dwm.h
view.c

index 1cac475..5958e21 100644 (file)
@@ -33,8 +33,8 @@ static Key key[] = { \
        { MODKEY,                       XK_j,           focusnext,      { 0 } }, \
        { MODKEY,                       XK_k,           focusprev,      { 0 } }, \
        { MODKEY,                       XK_Return,      zoom,           { 0 } }, \
-       { MODKEY,                       XK_g,           resizecol,      { .i = 15 } }, \
-       { MODKEY,                       XK_s,           resizecol,      { .i = -15 } }, \
+       { MODKEY,                       XK_g,           resizemaster,   { .i = 15 } }, \
+       { MODKEY,                       XK_s,           resizemaster,   { .i = -15 } }, \
        { MODKEY|ShiftMask,             XK_1,           tag,            { .i = 0 } }, \
        { MODKEY|ShiftMask,             XK_2,           tag,            { .i = 1 } }, \
        { MODKEY|ShiftMask,             XK_3,           tag,            { .i = 2 } }, \
index 0a595a2..85cc135 100644 (file)
@@ -28,8 +28,8 @@ static Key key[] = { \
        { MODKEY,                       XK_Tab,         focusnext,      { 0 } }, \
        { MODKEY|ShiftMask,             XK_Tab,         focusprev,      { 0 } }, \
        { MODKEY,                       XK_Return,      zoom,           { 0 } }, \
-       { MODKEY,                       XK_g,           resizecol,      { .i = 15 } }, \
-       { MODKEY,                       XK_s,           resizecol,      { .i = -15 } }, \
+       { MODKEY,                       XK_g,           resizemaster,   { .i = 15 } }, \
+       { MODKEY,                       XK_s,           resizemaster,   { .i = -15 } }, \
        { 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 850e60b..f9c4094 100644 (file)
--- a/dwm.h
+++ b/dwm.h
@@ -161,7 +161,7 @@ extern void dotile(void);                   /* arranges all windows tiled */
 extern void focusnext(Arg *arg);               /* focuses next visible client, arg is ignored  */
 extern void focusprev(Arg *arg);               /* focuses previous visible client, arg is ignored */
 extern Bool isvisible(Client *c);              /* returns True if client is visible */
-extern void resizecol(Arg *arg);               /* resizes the master percent with arg's index value */
+extern void resizemaster(Arg *arg);            /* resizes the master percent with arg's index value */
 extern void restack(void);                     /* restores z layers of all clients */
 extern void togglemode(Arg *arg);              /* toggles global arrange function (dotile/dofloat) */
 extern void toggleview(Arg *arg);              /* toggles the tag with arg's index (in)visible */
diff --git a/view.c b/view.c
index 4f42abe..abd8ca6 100644 (file)
--- a/view.c
+++ b/view.c
@@ -195,7 +195,7 @@ isvisible(Client *c) {
 }
 
 void
-resizecol(Arg *arg) {
+resizemaster(Arg *arg) {
        if(master + arg->i > 950 || master + arg->i < 50)
                return;
        master += arg->i;