浏览代码

minor fixes

Anselm R Garbe 17 年之前
父节点
当前提交
446fa8c671
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      dwm.c

+ 1 - 3
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;