about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-13 12:45:30 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-13 12:45:30 +0000
commitc19d4b2930379d0b966a1f082f9db2f3011bea76 (patch)
tree60f8a61a2ebd8a54ae12d0fbe06e01d3aa50ab72 /dwm.c
parentf77a3d0a62b09f2923b8e2c7e739600ab8283abb (diff)
downloaddwm-c19d4b2930379d0b966a1f082f9db2f3011bea76.tar.gz
some cleanup
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