pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77a3d0
)
some cleanup
author
Anselm R Garbe
<garbeam@gmail.com>
Thu, 13 Mar 2008 12:45:30 +0000
(12:45 +0000)
committer
Anselm R Garbe
<garbeam@gmail.com>
Thu, 13 Mar 2008 12:45:30 +0000
(12:45 +0000)
config.anselm.h
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/config.anselm.h
b/config.anselm.h
index
77af948
..
aef5947
100644
(file)
--- a/
config.anselm.h
+++ b/
config.anselm.h
@@
-71,14
+71,13
@@
setanselmgeoms(void) {
moy = my;
mow = mw;
moh = mh;
-
- updatebarpos();
}
void
anselmgeoms(const char *arg) {
setgeoms = setanselmgeoms;
setgeoms();
+ updatebarpos();
setlayout("[]|");
}
@@
-86,6
+85,7
@@
void
defgeoms(const char *arg) {
setgeoms = setdefaultgeoms;
setgeoms();
+ updatebarpos();
setlayout("[]=");
}
diff --git
a/dwm.c
b/dwm.c
index
4d26a82
..
51d270e
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-408,6
+408,7
@@
configurenotify(XEvent *e) {
if(ev->window == root && (ev->width != sw || ev->height != sh)) {
setgeoms();
+ updatebarpos();
arrange();
}
}
@@
-1415,8
+1416,6
@@
setdefaultgeoms(void) {
moy = wy;
mow = ww;
moh = wh;
-
- updatebarpos();
}
void