Don't mess with the window position in xinerama when -geometry changes it.

(Attila Kinali)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12033 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2004-03-16 05:16:58 +00:00
parent 70305e36ae
commit 2e90c1dffc
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#include "video_out.h" #include "video_out.h"
#include "aspect.h" #include "aspect.h"
#include "geometry.h"
#include "help_mp.h" #include "help_mp.h"
#include "../osdep/timer.h" #include "../osdep/timer.h"
@ -1313,7 +1314,7 @@ void vo_x11_selectinput_witherr(Display *display, Window w, long event_mask)
#ifdef HAVE_XINERAMA #ifdef HAVE_XINERAMA
void vo_x11_xinerama_move(Display *dsp, Window w) 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); */ /* printf("XXXX Xinerama screen: x: %hd y: %hd\n",xinerama_x,xinerama_y); */
XMoveWindow(dsp,w,xinerama_x,xinerama_y); XMoveWindow(dsp,w,xinerama_x,xinerama_y);