[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.168,1.169

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Mon Apr 5 23:33:54 CEST 2004


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv20931

Modified Files:
	x11_common.c 
Log Message:
Unmap window before change in decor and size while flipping full screen mode (by Adam Tla/lka)
(reversed and recommited without cosmetics by me)


Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -r1.168 -r1.169
--- x11_common.c	3 Apr 2004 13:46:00 -0000	1.168
+++ x11_common.c	5 Apr 2004 21:33:51 -0000	1.169
@@ -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 );




More information about the MPlayer-cvslog mailing list