Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
349d768
)
removed reapply() -- unnecessary
author
Anselm R Garbe <
[email protected]
>
Sat, 17 May 2008 13:06:41 +0000
(14:06 +0100)
committer
Anselm R Garbe <
[email protected]
>
Sat, 17 May 2008 13:06:41 +0000
(14:06 +0100)
config.def.h
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
1c704c3
..
437a0f2
100644
(file)
--- 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|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 },
{ 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
(file)
--- 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);
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);
void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
void resizemouse(Client *c);
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
resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
XWindowChanges wc;
void
resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
XWindowChanges wc;