Mercurial > mplayer.hg
diff libvo/x11_common.c @ 12123:a2e172cc06cb
Unmap window before change in decor and size while flipping full screen mode (by Adam Tla/lka)
(reversed and recommited without cosmetics by me)
author | rathann |
---|---|
date | Mon, 05 Apr 2004 21:33:51 +0000 |
parents | 8520e39f92d6 |
children | f4fc74a88e65 |
line wrap: on
line diff
--- a/libvo/x11_common.c Mon Apr 05 21:33:08 2004 +0000 +++ b/libvo/x11_common.c Mon Apr 05 21:33:51 2004 +0000 @@ -1081,9 +1081,10 @@ 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 );