This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
don't draw monitor number, if there is just one monitor
master
Anselm R Garbe
16 years ago
parent
183dc670a3
commit
e408ca97d8
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dwm.c
+ 1
- 1
dwm.c
View File
@ -636,7 +636,7 @@ drawbar(Monitor *m) {
dc
.
x
=
0
;
dc
.
x
=
0
;
#
ifdef XINERAMA
#
ifdef XINERAMA
{
if
(
mons
-
>
next
)
{
/* more than a single monitor */
char
buf
[
2
]
;
char
buf
[
2
]
;
buf
[
0
]
=
m
-
>
screen_number
+
'
0
'
;
buf
[
0
]
=
m
-
>
screen_number
+
'
0
'
;
buf
[
1
]
=
'
\0
'
;
buf
[
1
]
=
'
\0
'
;
Write
Preview
Loading…
Cancel
Save