renamed resizetile into resizecol

This commit is contained in:
Anselm R. Garbe 2006-09-05 13:52:23 +02:00
parent 9066ee2eb4
commit 3a1343a245
4 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ static Key key[] = { \
{ MODKEY, XK_k, focusprev, { 0 } }, \ { MODKEY, XK_k, focusprev, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY, XK_m, togglemax, { 0 } }, \ { MODKEY, XK_m, togglemax, { 0 } }, \
{ MODKEY, XK_g, resizetile, { .i = 20 } }, \ { MODKEY, XK_g, resizecol, { .i = 20 } }, \
{ MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \

View file

@ -29,8 +29,8 @@ static Key key[] = { \
{ MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY, XK_m, togglemax, { 0 } }, \ { MODKEY, XK_m, togglemax, { 0 } }, \
{ MODKEY, XK_g, resizetile, { .i = 20 } }, \ { MODKEY, XK_g, resizecol, { .i = 20 } }, \
{ MODKEY, XK_s, resizetile, { .i = -20 } }, \ { MODKEY, XK_s, resizecol, { .i = -20 } }, \
{ MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \

2
dwm.h
View file

@ -132,7 +132,7 @@ extern void dotile(Arg *arg);
extern void focusnext(Arg *arg); extern void focusnext(Arg *arg);
extern void focusprev(Arg *arg); extern void focusprev(Arg *arg);
extern Bool isvisible(Client *c); extern Bool isvisible(Client *c);
extern void resizetile(Arg *arg); extern void resizecol(Arg *arg);
extern void restack(); extern void restack();
extern void togglemode(Arg *arg); extern void togglemode(Arg *arg);
extern void toggleview(Arg *arg); extern void toggleview(Arg *arg);

2
view.c
View file

@ -181,7 +181,7 @@ isvisible(Client *c)
} }
void void
resizetile(Arg *arg) resizecol(Arg *arg)
{ {
Client *c = getnext(clients); Client *c = getnext(clients);