summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 205fa2987d..7145aaf537 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -367,12 +367,12 @@ static void init_atoms(void)
}
void update_xinerama_info(void) {
+#ifdef HAVE_XINERAMA
int screen = xinerama_screen;
// center coordinates of the window
int x = vo_dx + vo_dwidth / 2;
int y = vo_dy + vo_dheight / 2;
xinerama_x = xinerama_y = 0;
-#ifdef HAVE_XINERAMA
if (screen >= -1 && XineramaIsActive(mDisplay))
{
XineramaScreenInfo *screens;