JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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