summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-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 525772ace1..6a0ad3776e 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -366,9 +366,9 @@ static void init_atoms(void)
}
void update_xinerama_info(void) {
- int screen = xinerama_screen;
xinerama_x = xinerama_y = 0;
#ifdef CONFIG_XINERAMA
+ int screen = xinerama_screen;
if (screen >= -1 && XineramaIsActive(mDisplay))
{
XineramaScreenInfo *screens;