summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */