mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-04 01:34:13 +00:00
[client] spice: add not subtract to the rotation
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user