pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183dc67
)
don't draw monitor number, if there is just one monitor
author
Anselm R Garbe
<anselm@garbe.us>
Tue, 30 Jun 2009 19:00:11 +0000
(20:00 +0100)
committer
Anselm R Garbe
<anselm@garbe.us>
Tue, 30 Jun 2009 19:00:11 +0000
(20:00 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
b1cb2f6
..
f20861e
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-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';