JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed bpos init
authorAnselm R. Garbe <arg@suckless.org>
Tue, 15 May 2007 11:23:51 +0000 (13:23 +0200)
committerAnselm R. Garbe <arg@suckless.org>
Tue, 15 May 2007 11:23:51 +0000 (13:23 +0200)
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);