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

Adam Tla/lka CVS syncmail at mplayerhq.hu
Fri Apr 2 08:31:26 CEST 2004


CVS change done by Adam Tla/lka CVS

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

Modified Files:
	x11_common.c 
Log Message:
move window decor changes after setting Withdrawn state so we have no additionalwindow refresh


Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- x11_common.c	2 Apr 2004 06:05:54 -0000	1.167
+++ x11_common.c	2 Apr 2004 06:31:24 -0000	1.168
@@ -1081,15 +1081,16 @@
 	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);
+
  vo_x11_decoration( mDisplay,vo_window,(vo_fs) ? 0 : 1 );
  vo_x11_sizehint( x,y,w,h,0);
  vo_x11_setlayer( mDisplay,vo_window,vo_fs );
 
  if ((!(vo_fs)) & vo_ontop) vo_x11_setlayer(mDisplay, vo_window,vo_ontop);
 
-if(vo_wm_type==0 && !(vo_fsmode&16))
-//    XUnmapWindow( mDisplay,vo_window );  // required for MWM
-     XWithdrawWindow(mDisplay,vo_window,mScreen);
  XMoveResizeWindow( mDisplay,vo_window,x,y,w,h );
 #ifdef HAVE_XINERAMA
  vo_x11_xinerama_move(mDisplay,vo_window);




More information about the MPlayer-cvslog mailing list