aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 1 insertions, 3 deletions
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;
remember that computers suck.