Parcourir la source

fixed bpos init

Anselm R. Garbe il y a 18 ans
Parent
commit
cf58091736
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      main.c

+ 1 - 0
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);