Browse Source

some minor fixes

anselm@anselm1 17 years ago
parent
commit
103fb58a44
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dwm.c

+ 2 - 2
dwm.c

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