JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
minor fixes
authorAnselm R Garbe <garbeam@gmail.com>
Sun, 11 May 2008 19:27:01 +0000 (20:27 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Sun, 11 May 2008 19:27:01 +0000 (20:27 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 37eb299..d4fd0d5 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1432,8 +1432,7 @@ setup(void) {
        sw = DisplayWidth(dpy, screen);
        sh = DisplayHeight(dpy, screen);
        bh = dc.font.height + 2;
-
-       /* update geometry */
+       mfact = MFACT;
        updategeom();
 
        /* init atoms */
@@ -1727,7 +1726,6 @@ updategeom(void) {
        wh = sh - bh;
 
        /* master area geometry */
-       mfact = MFACT;
        mx = wx;
        my = wy;
        mw = mfact * ww;