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,6 +2387,9 @@ 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 );
|
||||||
|
|
||||||
|
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 );
|
return SendMessageW( winpos.hwnd, WM_WINE_SETWINDOWPOS, 0, (LPARAM)&winpos );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue