From: Anselm R Garbe Date: Sun, 11 May 2008 19:27:01 +0000 (+0100) Subject: minor fixes X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=446fa8c67117e14e0e9c2a08f83dfa5bed69ea18;p=dwm.git minor fixes --- diff --git a/dwm.c b/dwm.c index 37eb299..d4fd0d5 100644 --- 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;