fixed bpos init
Anselm R. Garbe arg@suckless.org
Tue, 15 May 2007 13:23:51 +0200
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
main.c
→
main.c
@@ -194,6 +194,7 @@ barwin = XCreateWindow(dpy, root, sx, sy - bh, sw, bh, 0,
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);