summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-17 04:34:20 +0200
committerwm4 <wm4@nowhere>2014-08-17 04:35:24 +0200
commit3778e6333070155d72ade4049e9886086e490a65 (patch)
tree27d34bd4a3c6c18c782a2955371d9617a50bb001 /video
parent61b0163d583a752e6c2bbb407ea925507d248136 (diff)
downloadmpv-3778e6333070155d72ade4049e9886086e490a65.tar.bz2
mpv-3778e6333070155d72ade4049e9886086e490a65.tar.xz
x11: fix xrandr conditional compilation
Oops. Fixes #1020.
Diffstat (limited to 'video')
-rw-r--r--video/out/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 6e60822644..f1b69e4f55 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -324,7 +324,7 @@ static int vo_wm_detect(struct vo *vo)
static void xrandr_read(struct vo_x11_state *x11)
{
-#ifdef HAVE_XRANDR
+#if HAVE_XRANDR
x11->num_displays = 0;
XRRScreenResources *r = XRRGetScreenResources(x11->display, x11->rootwin);