[hackers] [dwm] don't draw monitor number, if there is just one monitor || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Tue, 30 Jun 2009 19:00:16 +0000 (UTC)

changeset: 1433:a725636d4d81
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Tue Jun 30 20:00:11 2009 +0100
files: dwm.c
description:
don't draw monitor number, if there is just one monitor

diff -r dda54561d777 -r a725636d4d81 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';
Received on Tue Jun 30 2009 - 19:00:16 UTC

This archive was generated by hypermail 2.2.0 : Tue Jun 30 2009 - 19:12:05 UTC