[PATCH resend 2/7] user32: use SWP_NOACTIVATE flag when resizing etched static control

Rafał Harabień rafalh92 at outlook.com
Sat Mar 26 07:22:32 CDT 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 d19df22dcb9..dc9a210862a 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