about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:06:41 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:06:41 +0100
commit489ac07e83f5dabd23d494630c7bb61690bb56e0 (patch)
tree25f3e0d63527bc5badc29c7e22570784ed4bb241
parent349d768b573c5b96056faf153273878f61a9f0c9 (diff)
downloaddwm-489ac07e83f5dabd23d494630c7bb61690bb56e0.tar.gz
removed reapply() -- unnecessary
-rw-r--r--config.def.h1
-rw-r--r--dwm.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/config.def.h b/config.def.h
index 1c704c3..437a0f2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -40,7 +40,6 @@ Key keys[] = {
 	{ MODKEY|ShiftMask,             XK_j,      focusnext,      "exact" },
 	{ MODKEY,                       XK_k,      focusprev,      NULL },
 	{ MODKEY|ShiftMask,             XK_k,      focusprev,      "exact" },
-	{ MODKEY,                       XK_r,      reapply,        NULL },
 	{ MODKEY,                       XK_h,      setmfact,       "-0.05" },
 	{ MODKEY,                       XK_l,      setmfact,       "+0.05" },
 	{ MODKEY,                       XK_Return, zoom,           NULL },
diff --git a/dwm.c b/dwm.c
index 88391af..6299b63 100644
--- a/dwm.c
+++ b/dwm.c
@@ -158,7 +158,6 @@ void movemouse(Client *c);
 Client *nexttiled(Client *c);
 void propertynotify(XEvent *e);
 void quit(const char *arg);
-void reapply(const char *arg);
 void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
 void resizemouse(Client *c);
 void restack(void);
@@ -1137,17 +1136,6 @@ quit(const char *arg) {
 }
 
 void
-reapply(const char *arg) {
-	Client *c;
-
-	for(c = clients; c; c = c->next) {
-		memset(c->tags, 0, TAGSZ);
-		applyrules(c);
-	}
-	arrange();
-}
-
-void
 resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
 	XWindowChanges wc;