summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-08 20:50:40 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-08 20:50:40 +0000
commit985f17ed48d5e60615746a4d6775d190f426a0b1 (patch)
tree01a4ddc16d42bba560903a9d6e2c5bbd1794b1fa /libvo/x11_common.c
parent73a4e12f08316d25a2970deaf86b655661a84ae0 (diff)
downloadmpv-985f17ed48d5e60615746a4d6775d190f426a0b1.tar.bz2
mpv-985f17ed48d5e60615746a4d6775d190f426a0b1.tar.xz
xinerama fullscreen switching fix by Joachim Breitner <mail@joachim-breitner.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6343 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index e2bebcdbe6..b4c9663d24 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -762,6 +762,9 @@ void vo_x11_fullscreen( void )
if(vo_wm_type==vo_wm_Unknown && !(vo_fsmode&16))
XUnmapWindow( mDisplay,vo_window ); // required for MWM
XMoveResizeWindow( mDisplay,vo_window,x,y,w,h );
+#ifdef HAVE_XINERAMA
+ vo_x11_xinerama_move(mDisplay,vo_window);
+#endif
XMapRaised( mDisplay,vo_window );
XRaiseWindow( mDisplay,vo_window );
XFlush( mDisplay );