Explorar o código

some minor fixes

anselm@anselm1 %!s(int64=17) %!d(string=hai) anos
pai
achega
103fb58a44
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 */