removed reapply() -- unnecessary 489ac07e
Anselm R Garbe · 2008-05-17 14:06 2 file(s) · +0 −13
config.def.h +0 −1
40 40
	{ MODKEY|ShiftMask,             XK_j,      focusnext,      "exact" },
41 41
	{ MODKEY,                       XK_k,      focusprev,      NULL },
42 42
	{ MODKEY|ShiftMask,             XK_k,      focusprev,      "exact" },
43 -
	{ MODKEY,                       XK_r,      reapply,        NULL },
44 43
	{ MODKEY,                       XK_h,      setmfact,       "-0.05" },
45 44
	{ MODKEY,                       XK_l,      setmfact,       "+0.05" },
46 45
	{ MODKEY,                       XK_Return, zoom,           NULL },
dwm.c +0 −12
158 158
Client *nexttiled(Client *c);
159 159
void propertynotify(XEvent *e);
160 160
void quit(const char *arg);
161 -
void reapply(const char *arg);
162 161
void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
163 162
void resizemouse(Client *c);
164 163
void restack(void);
1134 1133
void
1135 1134
quit(const char *arg) {
1136 1135
	readin = running = False;
1137 -
}
1138 -
1139 -
void
1140 -
reapply(const char *arg) {
1141 -
	Client *c;
1142 -
1143 -
	for(c = clients; c; c = c->next) {
1144 -
		memset(c->tags, 0, TAGSZ);
1145 -
		applyrules(c);
1146 -
	}
1147 -
	arrange();
1148 1136
}
1149 1137
1150 1138
void