about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index b1cb2f6..f20861e 100644
--- 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';
009-12-25 21:55:04 +0100 updated pydoc pages' href='/akspecs/ranger/commit/doc/ranger.defaults.html?h=v1.4.2&id=f07bb12fc5c59430e995a64956b36331ce3629b9'>f07bb12f ^
62cd83ba ^
f07bb12f ^

62cd83ba ^
f07bb12f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25