Roman Pišl : wineconsole: Don't activate window when computing positions.

Alexandre Julliard julliard at winehq.org
Wed Apr 22 15:29:26 CDT 2020


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

Author: Roman Pišl <rpisl at seznam.cz>
Date:   Tue Apr 21 22:09:07 2020 +0200

wineconsole: Don't activate window when computing positions.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48740
Signed-off-by: Roman Pišl <rpisl at seznam.cz>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/wineconsole/user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c
index 212c65cee4..de3f4ae98c 100644
--- a/programs/wineconsole/user.c
+++ b/programs/wineconsole/user.c
@@ -253,7 +253,7 @@ static void	WCUSER_ComputePositions(struct inner_data* data)
     }
 
     SetWindowPos(data->hWnd, 0, 0, 0, r.right - r.left + dx, r.bottom - r.top + dy,
-		 SWP_NOMOVE|SWP_NOZORDER);
+                 SWP_NOMOVE|SWP_NOZORDER|SWP_NOACTIVATE);
     WCUSER_ShapeCursor(data, data->curcfg.cursor_size, data->curcfg.cursor_visible, TRUE);
     WCUSER_PosCursor(data);
 }




More information about the wine-cvs mailing list