diff --git a/dwm.c b/dwm.c index 9dfeeb5..4d1fc46 100644 --- a/dwm.c +++ b/dwm.c @@ -2271,7 +2271,7 @@ updatestatus(void) Monitor* m; if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext))) strcpy(stext, "dwm-"VERSION); - for(m = mons; m; m=m->nextx) + for(m = mons; m; m=m->next) drawbar(selmon); updatesystray(); }