changeset 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 cacdfa298d37
children 83274c97be9e
files libvo/x11_common.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
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 );