Dmitry Timoshkov : winex11.drv: Call SetWindowPos with SWP_FRAMECHANGED set when switching from minimized state in X11DRV_MapNotify .

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 8 06:43:02 CST 2006


Module: wine
Branch: master
Commit: ffd80ba7b159e138665fa436907fe6ffed53c9c9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ffd80ba7b159e138665fa436907fe6ffed53c9c9

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Nov  8 16:17:19 2006 +0800

winex11.drv: Call SetWindowPos with SWP_FRAMECHANGED set when switching from minimized state in X11DRV_MapNotify.

---

 dlls/winex11.drv/winpos.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index 4ebcda8..b3e70f5 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -1183,7 +1183,7 @@ void X11DRV_MapNotify( HWND hwnd, XEvent
         SendMessageW( hwnd, WM_SHOWWINDOW, SW_RESTORE, 0 );
         data->lock_changes++;
         SetWindowPos( hwnd, 0, rect.left, rect.top, rect.right-rect.left, rect.bottom-rect.top,
-                      SWP_NOZORDER );
+                      SWP_NOZORDER | SWP_FRAMECHANGED );
         data->lock_changes--;
     }
     else WIN_ReleasePtr( win );




More information about the wine-cvs mailing list