JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed bpos init
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 555b076..5324ae0 100644 (file)
--- a/main.c
+++ b/main.c
@@ -194,6 +194,7 @@ setup(void) {
                        DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen),
                        CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
        XDefineCursor(dpy, barwin, cursor[CurNormal]);
+       bpos = BARPOS;
        updatebarpos();
        XMapRaised(dpy, barwin);
        strcpy(stext, "dwm-"VERSION);