1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 17:39:38 +00:00

x11: fix xrandr conditional compilation

Oops.

Fixes #1020.
This commit is contained in:
wm4 2014-08-17 04:34:20 +02:00
parent 61b0163d58
commit 3778e63330

View File

@ -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);