don't draw monitor number, if there is just one monitor

new_dwm
Anselm R Garbe 16 years ago
parent 183dc670a3
commit e408ca97d8

@ -636,7 +636,7 @@ drawbar(Monitor *m) {
dc.x = 0; dc.x = 0;
#ifdef XINERAMA #ifdef XINERAMA
{ if(mons->next) { /* more than a single monitor */
char buf[2]; char buf[2];
buf[0] = m->screen_number + '0'; buf[0] = m->screen_number + '0';
buf[1] = '\0'; buf[1] = '\0';

Loading…
Cancel
Save