user32: Support SetWindowPos() SWP_ASYNCWINDOWPOS flag.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b7121813bc
commit
22e0f03e92
|
@ -2387,7 +2387,10 @@ BOOL WINAPI SetWindowPos( HWND hwnd, HWND hwndInsertAfter,
|
||||||
if (WIN_IsCurrentThread( hwnd ))
|
if (WIN_IsCurrentThread( hwnd ))
|
||||||
return USER_SetWindowPos( &winpos, 0, 0 );
|
return USER_SetWindowPos( &winpos, 0, 0 );
|
||||||
|
|
||||||
return SendMessageW( winpos.hwnd, WM_WINE_SETWINDOWPOS, 0, (LPARAM)&winpos );
|
if (flags & SWP_ASYNCWINDOWPOS)
|
||||||
|
return SendNotifyMessageW( winpos.hwnd, WM_WINE_SETWINDOWPOS, 0, (LPARAM)&winpos );
|
||||||
|
else
|
||||||
|
return SendMessageW( winpos.hwnd, WM_WINE_SETWINDOWPOS, 0, (LPARAM)&winpos );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue