about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 4d26a82..51d270e 100644
--- 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