summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index c6ffe8f860..02e42ff221 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -336,9 +336,9 @@ static void init_atoms(struct vo_x11_state *x11)
void update_xinerama_info(struct vo *vo) {
struct MPOpts *opts = vo->opts;
- int screen = xinerama_screen;
xinerama_x = xinerama_y = 0;
#ifdef CONFIG_XINERAMA
+ int screen = xinerama_screen;
if (screen >= -1 && XineramaIsActive(vo->x11->display))
{
XineramaScreenInfo *screens;