summaryrefslogtreecommitdiff
path: root/main.c
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 /main.c
parent2aef8b9b4ce0900d241c60cb3a07e111c825d13a (diff)
fixed bpos init
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 555b0763..5324ae0b 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);