about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-15 13:23:51 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-15 13:23:51 +0200
commitcf58091736de194fabfd25420bbd1999b4ad3360 (patch)
tree77aaa2f837f06deefbea85fdd99a7310066d6f07
parent2aef8b9b4ce0900d241c60cb3a07e111c825d13a (diff)
downloaddwm-cf58091736de194fabfd25420bbd1999b4ad3360.tar.gz
fixed bpos init
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
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);