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
This commit is contained in:
attila 2002-06-08 20:50:40 +00:00
parent 73a4e12f08
commit 985f17ed48
1 changed files with 3 additions and 0 deletions

View File

@ -762,6 +762,9 @@ void vo_x11_fullscreen( void )
if(vo_wm_type==vo_wm_Unknown && !(vo_fsmode&16)) if(vo_wm_type==vo_wm_Unknown && !(vo_fsmode&16))
XUnmapWindow( mDisplay,vo_window ); // required for MWM XUnmapWindow( mDisplay,vo_window ); // required for MWM
XMoveResizeWindow( mDisplay,vo_window,x,y,w,h ); XMoveResizeWindow( mDisplay,vo_window,x,y,w,h );
#ifdef HAVE_XINERAMA
vo_x11_xinerama_move(mDisplay,vo_window);
#endif
XMapRaised( mDisplay,vo_window ); XMapRaised( mDisplay,vo_window );
XRaiseWindow( mDisplay,vo_window ); XRaiseWindow( mDisplay,vo_window );
XFlush( mDisplay ); XFlush( mDisplay );