Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
some cleanup
[dwm.git]
/
dwm.c
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