[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.7,1.8

Zoltan Ponekker pontscho at mplayer.dev.hu
Fri Aug 31 23:17:00 CEST 2001


Update of /cvsroot/mplayer/main/Gui/wm
In directory mplayer:/var/tmp.root/cvs-serv13555

Modified Files:
	ws.c 
Log Message:
fix move&resize

Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ws.c	30 Aug 2001 19:44:39 -0000	1.7
+++ ws.c	31 Aug 2001 21:16:58 -0000	1.8
@@ -814,6 +814,7 @@
  XSetWMNormalHints( wsDisplay,win->WindowID,&win->SizeHint );
 
  XMoveWindow( wsDisplay,win->WindowID,win->X,win->Y );
+ if ( win->ReSize ) win->ReSize( win->X,win->Y,win->Width,win->Height );
 }
 
 // ----------------------------------------------------------------------------------------------
@@ -841,6 +842,7 @@
   }
  XSetWMNormalHints( wsDisplay,win->WindowID,&win->SizeHint );
  XResizeWindow( wsDisplay,win->WindowID,sx,sy );
+ if ( win->ReSize ) win->ReSize( win->X,win->Y,win->Width,win->Height );
 }
 
 // ----------------------------------------------------------------------------------------------




More information about the MPlayer-cvslog mailing list