Rafał Harabień : user32: Use SWP_NOACTIVATE flag when resizing etched static control.

Alexandre Julliard julliard at winehq.org
Wed Apr 13 15:14:44 CDT 2022


Module: wine
Branch: master
Commit: 9be3f2cf110e9afe73369182587955c02c462024
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9be3f2cf110e9afe73369182587955c02c462024

Author: Rafał Harabień <rafalh92 at 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 at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at 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) {




More information about the wine-cvs mailing list