Browse Source

fixed bpos init

Anselm R. Garbe 18 năm trước cách đây
mục cha
commit
cf58091736
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);