diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-16 05:16:58 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-16 05:16:58 +0000 |
commit | 2e90c1dffcacdc62d263e994b2a87a8afa1afeed (patch) | |
tree | 27902a48f4c7e8ac8526c4959f30c26ddcffa779 /libvo/x11_common.c | |
parent | 70305e36aecd9feed1a41e23d7d19a5bae63464b (diff) | |
download | mpv-2e90c1dffcacdc62d263e994b2a87a8afa1afeed.tar.bz2 mpv-2e90c1dffcacdc62d263e994b2a87a8afa1afeed.tar.xz |
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
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index e7355cf4b5..20f7c16115 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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 @@ void vo_x11_selectinput_witherr(Display *display, Window w, long event_mask) #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); |