소스 검색

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 */