diff libvo/x11_common.c @ 12032:8cc4d4344c0f

Don't mess with the window position in xinerama when -geometry changes it. (Attila Kinali)
author diego
date Tue, 16 Mar 2004 05:16:58 +0000
parents 0c2b8b731d42
children 54514e4733a1
line wrap: on
line diff
--- a/libvo/x11_common.c	Tue Mar 16 05:15:44 2004 +0000
+++ b/libvo/x11_common.c	Tue Mar 16 05:16:58 2004 +0000
@@ -17,6 +17,7 @@
 
 #include "video_out.h"
 #include "aspect.h"
+#include "geometry.h"
 #include "help_mp.h"
 #include "../osdep/timer.h"
 
@@ -1313,7 +1314,7 @@
 #ifdef HAVE_XINERAMA
 void vo_x11_xinerama_move(Display *dsp, Window w)
 {
-	if(XineramaIsActive(dsp))
+	if(XineramaIsActive(dsp) && ! geometry_xy_changed)
 	{
 		 /* printf("XXXX Xinerama screen: x: %hd y: %hd\n",xinerama_x,xinerama_y); */
 		XMoveWindow(dsp,w,xinerama_x,xinerama_y);