tdon't draw monitor number, if there is just one monitor - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e408ca97d848949d5971ab70b26ebc6930c8fdd9
DIR parent 183dc670a3917663a4fe7e7cd1f0ddba1d9fda64
HTML Author: Anselm R Garbe <anselm@garbe.us>
Date: Tue, 30 Jun 2009 20:00:11 +0100
don't draw monitor number, if there is just one monitor
Diffstat:
M dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/dwm.c b/dwm.c
t@@ -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';