Browse Source

fixed bpos init

master
Anselm R. Garbe 18 years ago
parent
commit
cf58091736
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      main.c

+ 1
- 0
main.c View File

@ -194,6 +194,7 @@ setup(void) {
DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen), DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
XDefineCursor(dpy, barwin, cursor[CurNormal]); XDefineCursor(dpy, barwin, cursor[CurNormal]);
bpos = BARPOS;
updatebarpos(); updatebarpos();
XMapRaised(dpy, barwin); XMapRaised(dpy, barwin);
strcpy(stext, "dwm-"VERSION); strcpy(stext, "dwm-"VERSION);


Loading…
Cancel
Save