From ac66bcc25955b41f71202273490d4073a013a7db Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 19 May 2014 22:09:26 +0200 Subject: x11: unbreak build without xinerama --- video/out/x11_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/x11_common.c') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 7d96588fb4..adfbd950a0 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -382,6 +382,7 @@ static void vo_x11_get_bounding_monitors(struct vo_x11_state *x11, long b[4]) { //top bottom left right b[0] = b[1] = b[2] = b[3] = 0; +#if HAVE_XINERAMA int num_screens = 0; XineramaScreenInfo *screens = XineramaQueryScreens(x11->display, &num_screens); if (!screens) @@ -398,6 +399,7 @@ static void vo_x11_get_bounding_monitors(struct vo_x11_state *x11, long b[4]) b[3] = n; } XFree(screens); +#endif } int vo_x11_init(struct vo *vo) -- cgit v1.2.3