[client] spice: add not subtract to the rotation

This commit is contained in:
Geoffrey McRae 2021-01-19 03:44:36 +11:00
parent d2458ff5d3
commit 0451ec237e

View File

@ -1199,7 +1199,7 @@ inline static void localCurToGuest(struct DoublePoint *guest)
const struct DoublePoint point =
g_cursor.pos;
switch((g_state.rotate - params.winRotate) % LG_ROTATE_MAX)
switch((g_state.rotate + params.winRotate) % LG_ROTATE_MAX)
{
case LG_ROTATE_0:
guest->x = (point.x - g_state.dstRect.x) * g_cursor.scale.x;