Commit ffd80ba7 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winex11.drv: Call SetWindowPos with SWP_FRAMECHANGED set when switching from…

winex11.drv: Call SetWindowPos with SWP_FRAMECHANGED set when switching from minimized state in X11DRV_MapNotify.
parent d949867d
...@@ -1183,7 +1183,7 @@ void X11DRV_MapNotify( HWND hwnd, XEvent *event ) ...@@ -1183,7 +1183,7 @@ void X11DRV_MapNotify( HWND hwnd, XEvent *event )
SendMessageW( hwnd, WM_SHOWWINDOW, SW_RESTORE, 0 ); SendMessageW( hwnd, WM_SHOWWINDOW, SW_RESTORE, 0 );
data->lock_changes++; data->lock_changes++;
SetWindowPos( hwnd, 0, rect.left, rect.top, rect.right-rect.left, rect.bottom-rect.top, SetWindowPos( hwnd, 0, rect.left, rect.top, rect.right-rect.left, rect.bottom-rect.top,
SWP_NOZORDER ); SWP_NOZORDER | SWP_FRAMECHANGED );
data->lock_changes--; data->lock_changes--;
} }
else WIN_ReleasePtr( win ); else WIN_ReleasePtr( win );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment