# HG changeset patch # User attila # Date 1208085144 0 # Node ID 92037292fe2b8bade4ab935ea61e5c836c7cda72 # Parent d557441dc9c5a40898ff6eb20bd93fe9bb5a80b0 move the #ifdef HAVE_XINERAMA to enclose the whole function diff -r d557441dc9c5 -r 92037292fe2b libvo/x11_common.c --- a/libvo/x11_common.c Sun Apr 13 11:08:59 2008 +0000 +++ b/libvo/x11_common.c Sun Apr 13 11:12:24 2008 +0000 @@ -367,12 +367,12 @@ } 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;