some minor fixes
authoranselm@anselm1
Mon, 19 May 2008 20:29:57 +0100
changeset 1223 cd9fd0986555
parent 1222 6e2f71b72e51
child 1224 47496de04028
some minor fixes
dwm.c
--- a/dwm.c	Mon May 19 20:13:24 2008 +0100
+++ b/dwm.c	Mon May 19 20:29:57 2008 +0100
@@ -1671,9 +1671,9 @@
 		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 */