From: anselm@anselm1 Date: Mon, 19 May 2008 19:29:57 +0000 (+0100) Subject: some minor fixes X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=103fb58a445bc849acdd32c694f013846ab863ee;p=dwm.git some minor fixes --- 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 */