1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 04:02:06 +00:00

Unmap window before change in decor and size while flipping full screen mode (by Adam Tla/lka)

(reversed and recommited without cosmetics by me)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12124 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2004-04-05 21:33:51 +00:00
parent 2b4c901162
commit c2c8b4874c

View File

@ -1081,9 +1081,10 @@ void vo_x11_fullscreen( void )
else
old_gravity = vo_hint.win_gravity;
}
if(vo_wm_type==0 && !(vo_fsmode&16))
// XUnmapWindow( mDisplay,vo_window ); // required for MWM
XWithdrawWindow(mDisplay,vo_window,mScreen);
if(vo_wm_type==0 && !(vo_fsmode&16)) {
XUnmapWindow( mDisplay,vo_window ); // required for MWM
XWithdrawWindow(mDisplay,vo_window,mScreen);
}
vo_x11_decoration( mDisplay,vo_window,(vo_fs) ? 0 : 1 );
vo_x11_sizehint( x,y,w,h,0 );