Module: wine Branch: master Commit: 9be3f2cf110e9afe73369182587955c02c462024 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9be3f2cf110e9afe733691825...
Author: Rafał Harabień rafalh92@outlook.com Date: Sat Apr 9 13:14:41 2022 +0200
user32: Use SWP_NOACTIVATE flag when resizing etched static control.
Signed-off-by: Rafał Harabień rafalh92@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/user32/static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/static.c b/dlls/user32/static.c index e81e553f7d8..3c9b67b20ac 100644 --- a/dlls/user32/static.c +++ b/dlls/user32/static.c @@ -426,7 +426,7 @@ LRESULT StaticWndProc_common( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam rc.right = rc.left; AdjustWindowRectEx(&rc, full_style, FALSE, GetWindowLongW(hwnd, GWL_EXSTYLE)); NtUserSetWindowPos( hwnd, NULL, 0, 0, rc.right - rc.left, rc.bottom - rc.top, - SWP_NOMOVE | SWP_NOZORDER ); + SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER ); }
switch (style) {