From f5ccd50211543c34c7306b298795b649d825d01b Mon Sep 17 00:00:00 2001 From: attila Date: Sun, 13 Apr 2008 11:12:24 +0000 Subject: move the #ifdef HAVE_XINERAMA to enclose the whole function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26438 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') 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; -- cgit v1.2.3