Index: spectrwm.c --- spectrwm.c.orig +++ spectrwm.c @@ -4011,5 +4011,9 @@ bar_workspace_indicator(char *s, size_t sz, struct swm continue; + + if(ws->idx > (workspace_limit - 1)) + continue; + current = (ws == r->ws); named = (ws->name != NULL); urgent = false; active = (TAILQ_FIRST(&ws->winlist) != NULL);