mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-15 05:23:02 +00:00
[client] spice: add not subtract to the rotation
This commit is contained in:
parent
d2458ff5d3
commit
0451ec237e
1 changed files with 1 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ inline static void localCurToGuest(struct DoublePoint *guest)
|
||||||
const struct DoublePoint point =
|
const struct DoublePoint point =
|
||||||
g_cursor.pos;
|
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:
|
case LG_ROTATE_0:
|
||||||
guest->x = (point.x - g_state.dstRect.x) * g_cursor.scale.x;
|
guest->x = (point.x - g_state.dstRect.x) * g_cursor.scale.x;
|
||||||
|
|
Loading…
Reference in a new issue