commit cf58091736de194fabfd25420bbd1999b4ad3360
parent 2aef8b9b4ce0900d241c60cb3a07e111c825d13a
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Tue, 15 May 2007 13:23:51 +0200
fixed bpos init
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);