From 0451ec237eaa78d63ee5efc646c8bf98b71199af Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 19 Jan 2021 03:44:36 +1100 Subject: [PATCH] [client] spice: add not subtract to the rotation --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index 2a79db24..7eaaea1f 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -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;