[PATCH] wineconsole: Don't activate window when computing positions.

Roman Pišl rpisl at seznam.cz
Sat Mar 14 13:09:09 CDT 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48740
Signed-off-by: Roman Pišl <rpisl at seznam.cz>
---
 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);
 }
-- 
2.20.1




More information about the wine-devel mailing list