don't draw monitor number, if there is just one monitor
authorAnselm R Garbe <anselm@garbe.us>
Tue, 30 Jun 2009 20:00:11 +0100
changeset 1433 a725636d4d81
parent 1432 dda54561d777
child 1434 b0ac204a2c03
don't draw monitor number, if there is just one monitor
dwm.c
--- a/dwm.c	Tue Jun 30 19:56:19 2009 +0100
+++ b/dwm.c	Tue Jun 30 20:00:11 2009 +0100
@@ -636,7 +636,7 @@
 
 	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';