removed reapply() -- unnecessary
authorAnselm R Garbe <garbeam@gmail.com>
Sat, 17 May 2008 14:06:41 +0100
changeset 1200 d59c0861bd2c
parent 1199 94ecece0f25d
child 1201 b66f5380fce3
removed reapply() -- unnecessary
config.def.h
dwm.c
--- a/config.def.h	Sat May 17 14:04:27 2008 +0100
+++ b/config.def.h	Sat May 17 14:06:41 2008 +0100
@@ -40,7 +40,6 @@
 	{ 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 },
--- a/dwm.c	Sat May 17 14:04:27 2008 +0100
+++ b/dwm.c	Sat May 17 14:06:41 2008 +0100
@@ -158,7 +158,6 @@
 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 @@
 }
 
 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;