diff options
author | Anselm R Garbe <anselm@garbe.us> | 2009-06-30 20:00:11 +0100 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2009-06-30 20:00:11 +0100 |
commit | e408ca97d848949d5971ab70b26ebc6930c8fdd9 (patch) | |
tree | e502e3ca41e2b7a85c017f55fe7dbd0bc7381381 | |
parent | 183dc670a3917663a4fe7e7cd1f0ddba1d9fda64 (diff) | |
download | dwm-e408ca97d848949d5971ab70b26ebc6930c8fdd9.tar.gz dwm-e408ca97d848949d5971ab70b26ebc6930c8fdd9.tar.bz2 dwm-e408ca97d848949d5971ab70b26ebc6930c8fdd9.zip |
don't draw monitor number, if there is just one monitor
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |