changeset 1810:d44b0ce32791

fix move&resize
author pontscho
date Fri, 31 Aug 2001 21:16:58 +0000
parents 84c9a29bb6c3
children 0483b88482f5
files Gui/wm/ws.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/wm/ws.c	Fri Aug 31 21:06:20 2001 +0000
+++ b/Gui/wm/ws.c	Fri Aug 31 21:16:58 2001 +0000
@@ -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 );
 }
 
 // ----------------------------------------------------------------------------------------------