瀏覽代碼

some minor fixes

anselm@anselm1 17 年之前
父節點
當前提交
103fb58a44
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dwm.c

+ 2 - 2
dwm.c

@@ -1671,9 +1671,9 @@ updategeom(void) {
 		wh = showbar ? sh - bh : sh;
 	}
 
-	/* bar geometry*/
+	/* bar geometry */
 	bx = wx;
-	by = showbar ? (topbar ? 0 : wy + wh) : -bh;
+	by = showbar ? (topbar ? wy - bh : wy + wh) : -bh;
 	bw = ww;
 
 	/* update layout geometries */