X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=2f1dbf8b2aaba6e5ebbf6b59fb66782250fb4ba9;hp=5095b62c45a073008437742543a3b46ae272a1e9;hb=103fb58a445bc849acdd32c694f013846ab863ee;hpb=5f55af40aecbce7aa1bf01bdca50d92014c02a5c 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 */