From e408ca97d848949d5971ab70b26ebc6930c8fdd9 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Tue, 30 Jun 2009 20:00:11 +0100 Subject: don't draw monitor number, if there is just one monitor --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index b1cb2f6..f20861e 100644 --- a/dwm.c +++ b/dwm.c @@ -636,7 +636,7 @@ drawbar(Monitor *m) { dc.x = 0; #ifdef XINERAMA - { + if(mons->next) { /* more than a single monitor */ char buf[2]; buf[0] = m->screen_number + '0'; buf[1] = '\0'; -- cgit 1.4.1-2-gfad0