summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2009-06-30 20:00:11 +0100
committerAnselm R Garbe <anselm@garbe.us>2009-06-30 20:00:11 +0100
commite408ca97d848949d5971ab70b26ebc6930c8fdd9 (patch)
treee502e3ca41e2b7a85c017f55fe7dbd0bc7381381
parentfixed order of transient monitor applicaion and rule application (diff)
downloaddwm-e408ca97d848949d5971ab70b26ebc6930c8fdd9.tar.gz
dwm-e408ca97d848949d5971ab70b26ebc6930c8fdd9.zip
don't draw monitor number, if there is just one monitor
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
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) {
636 636
637 dc.x = 0; 637 dc.x = 0;
638#ifdef XINERAMA 638#ifdef XINERAMA
639 { 639 if(mons->next) { /* more than a single monitor */
640 char buf[2]; 640 char buf[2];
641 buf[0] = m->screen_number + '0'; 641 buf[0] = m->screen_number + '0';
642 buf[1] = '\0'; 642 buf[1] = '\0';