about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-05 13:52:23 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-05 13:52:23 +0200
commit3a1343a2458aa53d50019f24a32a3ab9bb8b3a83 (patch)
treeaa90f9162005dd1fdfb015a6a15dc0c372450b34
parent9066ee2eb4c254e922c5637bdda8013e618ac3b3 (diff)
downloaddwm-3a1343a2458aa53d50019f24a32a3ab9bb8b3a83.tar.gz
renamed resizetile into resizecol
-rw-r--r--config.arg.h2
-rw-r--r--config.default.h4
-rw-r--r--dwm.h2
-rw-r--r--view.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/config.arg.h b/config.arg.h
index 683311e..feb90ed 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,		resizetile,	{ .i = 20 } }, \
+	{ MODKEY,			XK_g,		resizecol,	{ .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 0cdeddf..395b35e 100644
--- a/config.default.h
+++ b/config.default.h
@@ -29,8 +29,8 @@ static Key key[] = { \
 	{ MODKEY|ShiftMask,		XK_Tab,		focusprev,	{ 0 } }, \
 	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
 	{ MODKEY,			XK_m,		togglemax,	{ 0 } }, \
-	{ MODKEY,			XK_g,		resizetile,	{ .i = 20 } }, \
-	{ MODKEY,			XK_s,		resizetile,	{ .i = -20 } }, \
+	{ MODKEY,			XK_g,		resizecol,	{ .i = 20 } }, \
+	{ MODKEY,			XK_s,		resizecol,	{ .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 dfa1034..9f1e7bf 100644
--- a/dwm.h
+++ b/dwm.h
@@ -132,7 +132,7 @@ extern void dotile(Arg *arg);
 extern void focusnext(Arg *arg);
 extern void focusprev(Arg *arg);
 extern Bool isvisible(Client *c);
-extern void resizetile(Arg *arg);
+extern void resizecol(Arg *arg);
 extern void restack();
 extern void togglemode(Arg *arg);
 extern void toggleview(Arg *arg);
diff --git a/view.c b/view.c
index 09ee497..4b4c9eb 100644
--- a/view.c
+++ b/view.c
@@ -181,7 +181,7 @@ isvisible(Client *c)
 }
 
 void
-resizetile(Arg *arg)
+resizecol(Arg *arg)
 {
 	Client *c = getnext(clients);
 
an> bad_malloc(unsigned int size) { fprintf(stderr, "fatal: could not malloc() %d bytes\n", (int) size); exit(EXIT_FAILURE); } /* extern */ void * emallocz(unsigned int size) { void *res = calloc(1, size); if(!res) bad_malloc(size); return res; } void eprint(const char *errstr, ...) { va_list ap; va_start(ap, errstr); vfprintf(stderr, errstr, ap); va_end(ap); exit(EXIT_FAILURE); } void spawn(Arg *arg) { char **argv = (char **)arg->argv; if(!argv || !argv[0]) return; if(fork() == 0) { if(fork() == 0) { if(dpy) close(ConnectionNumber(dpy)); setsid(); execvp(argv[0], argv); fprintf(stderr, "dwm: execvp %s", argv[0]); perror(" failed"); } exit(EXIT_FAILURE); } wait(0); }