about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authoranselm@anselm1 <unknown>2008-05-19 20:29:57 +0100
committeranselm@anselm1 <unknown>2008-05-19 20:29:57 +0100
commit103fb58a445bc849acdd32c694f013846ab863ee (patch)
tree0ea24cbbde3acf136d8a8fb78a76ee298abea557
parent5f55af40aecbce7aa1bf01bdca50d92014c02a5c (diff)
downloaddwm-103fb58a445bc849acdd32c694f013846ab863ee.tar.gz
some minor fixes
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 5095b62..2f1dbf8 100644
--- a/dwm.c
+++ b/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 */