JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
some minor fixes
authoranselm@anselm1 <unknown>
Mon, 19 May 2008 19:29:57 +0000 (20:29 +0100)
committeranselm@anselm1 <unknown>
Mon, 19 May 2008 19:29:57 +0000 (20:29 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 5095b62..2f1dbf8 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1671,9 +1671,9 @@ updategeom(void) {
                wh = showbar ? sh - bh : sh;
        }
 
                wh = showbar ? sh - bh : sh;
        }
 
-       /* bar geometry*/
+       /* bar geometry */
        bx = wx;
        bx = wx;
-       by = showbar ? (topbar ? 0 : wy + wh) : -bh;
+       by = showbar ? (topbar ? wy - bh : wy + wh) : -bh;
        bw = ww;
 
        /* update layout geometries */
        bw = ww;
 
        /* update layout geometries */