mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
[client] spice: add not subtract to the rotation
This commit is contained in:
parent
d2458ff5d3
commit
0451ec237e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user