From: Anselm R. Garbe Date: Tue, 15 May 2007 11:23:51 +0000 (+0200) Subject: fixed bpos init X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=cf58091736de194fabfd25420bbd1999b4ad3360;p=dwm.git fixed bpos init --- diff --git a/main.c b/main.c index 555b076..5324ae0 100644 --- 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);