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

Rafał Harabień rafalh92 at outlook.com
Sat Apr 2 17:47:02 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 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) {
-- 
2.25.1




More information about the wine-devel mailing list