diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-13 11:12:24 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-13 11:12:24 +0000 |
commit | f5ccd50211543c34c7306b298795b649d825d01b (patch) | |
tree | bd6e0e7f5e73f36a35f9be6ef80d8c6e3bd6d711 /libvo | |
parent | d48f39e68c4f22d8f0b58bc8cc38f806ba8f5dd6 (diff) |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 2 |
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; |