diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-31 21:16:58 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-31 21:16:58 +0000 |
commit | 940a5cf569ae42e9de80ede16d61b8e7b23e25f7 (patch) | |
tree | 655053edb4958516ad5dfd0f96e36a72e79a2e52 | |
parent | 7492504ebb70021529ee0484ae908cd5f6f4b76c (diff) |
fix move&resize
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1811 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | Gui/wm/ws.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index 444a83bfea..e1bc89b306 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -814,6 +814,7 @@ void wsMoveWindow( wsTWindow * win,int x, int y ) 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 @@ void wsResizeWindow( wsTWindow * win,int sx, int sy ) } 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 ); } // ---------------------------------------------------------------------------------------------- |