[MPlayer-cvslog] r26438 - trunk/libvo/x11_common.c
attila
subversion at mplayerhq.hu
Sun Apr 13 13:12:24 CEST 2008
Author: attila
Date: Sun Apr 13 13:12:24 2008
New Revision: 26438
Log:
move the #ifdef HAVE_XINERAMA to enclose the whole function
Modified:
trunk/libvo/x11_common.c
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c (original)
+++ trunk/libvo/x11_common.c Sun Apr 13 13:12:24 2008
@@ -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;
More information about the MPlayer-cvslog
mailing list