tsome cleanup - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c19d4b2930379d0b966a1f082f9db2f3011bea76
DIR parent f77a3d0a62b09f2923b8e2c7e739600ab8283abb
HTML Author: Anselm R Garbe <garbeam@gmail.com>
Date: Thu, 13 Mar 2008 12:45:30 +0000
some cleanup
Diffstat:
M config.anselm.h | 4 ++--
M dwm.c | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
---
DIR diff --git a/config.anselm.h b/config.anselm.h
t@@ -71,14 +71,13 @@ setanselmgeoms(void) {
moy = my;
mow = mw;
moh = mh;
-
- updatebarpos();
}
void
anselmgeoms(const char *arg) {
setgeoms = setanselmgeoms;
setgeoms();
+ updatebarpos();
setlayout("[]|");
}
t@@ -86,6 +85,7 @@ void
defgeoms(const char *arg) {
setgeoms = setdefaultgeoms;
setgeoms();
+ updatebarpos();
setlayout("[]=");
}
DIR diff --git a/dwm.c b/dwm.c
t@@ -408,6 +408,7 @@ configurenotify(XEvent *e) {
if(ev->window == root && (ev->width != sw || ev->height != sh)) {
setgeoms();
+ updatebarpos();
arrange();
}
}
t@@ -1415,8 +1416,6 @@ setdefaultgeoms(void) {
moy = wy;
mow = ww;
moh = wh;
-
- updatebarpos();
}
void