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@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Roman Pišl 2020-04-21 22:09:07 +02:00 committed by Alexandre Julliard
parent 106d803db1
commit 8d8eab04fb
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}