Ver Fonte

some minor fixes

anselm@anselm1 há 17 anos atrás
pai
commit
103fb58a44
1 ficheiros alterados com 2 adições e 2 exclusões
  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 */