[PATCH 2/7] user32: use SWP_NOACTIVATE flag when resizing etched static control
Rafał Harabień
rafalh92 at outlook.com
Wed Feb 23 17:21:13 CST 2022
Signed-off-by: Rafał Harabień <rafalh92 at outlook.com>
---
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 8de216269c1..d0533206d8f 100644
--- a/dlls/user32/static.c
+++ b/dlls/user32/static.c
@@ -425,7 +425,7 @@ LRESULT StaticWndProc_common( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
else
rc.right = rc.left;
AdjustWindowRectEx(&rc, full_style, FALSE, GetWindowLongW(hwnd, GWL_EXSTYLE));
- SetWindowPos(hwnd, NULL, 0, 0, rc.right - rc.left, rc.bottom - rc.top, SWP_NOMOVE | SWP_NOZORDER);
+ SetWindowPos(hwnd, NULL, 0, 0, rc.right - rc.left, rc.bottom - rc.top, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER);
}
switch (style) {
--
2.25.1
More information about the wine-devel
mailing list