removed reapply() -- unnecessary

This commit is contained in:
Anselm R Garbe 2008-05-17 14:06:41 +01:00
parent 349d768b57
commit 489ac07e83
2 changed files with 0 additions and 13 deletions

View file

@ -40,7 +40,6 @@ Key keys[] = {
{ MODKEY|ShiftMask, XK_j, focusnext, "exact" }, { MODKEY|ShiftMask, XK_j, focusnext, "exact" },
{ MODKEY, XK_k, focusprev, NULL }, { MODKEY, XK_k, focusprev, NULL },
{ MODKEY|ShiftMask, XK_k, focusprev, "exact" }, { MODKEY|ShiftMask, XK_k, focusprev, "exact" },
{ MODKEY, XK_r, reapply, NULL },
{ MODKEY, XK_h, setmfact, "-0.05" }, { MODKEY, XK_h, setmfact, "-0.05" },
{ MODKEY, XK_l, setmfact, "+0.05" }, { MODKEY, XK_l, setmfact, "+0.05" },
{ MODKEY, XK_Return, zoom, NULL }, { MODKEY, XK_Return, zoom, NULL },

12
dwm.c
View file

@ -158,7 +158,6 @@ void movemouse(Client *c);
Client *nexttiled(Client *c); Client *nexttiled(Client *c);
void propertynotify(XEvent *e); void propertynotify(XEvent *e);
void quit(const char *arg); 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 resize(Client *c, int x, int y, int w, int h, Bool sizehints);
void resizemouse(Client *c); void resizemouse(Client *c);
void restack(void); void restack(void);
@ -1136,17 +1135,6 @@ quit(const char *arg) {
readin = running = False; readin = running = False;
} }
void
reapply(const char *arg) {
Client *c;
for(c = clients; c; c = c->next) {
memset(c->tags, 0, TAGSZ);
applyrules(c);
}
arrange();
}
void void
resize(Client *c, int x, int y, int w, int h, Bool sizehints) { resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
XWindowChanges wc; XWindowChanges wc;