mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-15 05:23:02 +00:00
[client] fixed incorrect warpState
Credit to @Adam in Discord VFIO #looking-glass
This commit is contained in:
parent
36726bb349
commit
12da2fc0b7
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ static void handleMouseMoveEvent(int ex, int ey)
|
||||||
{
|
{
|
||||||
state.curLastX += state.warpToX - state.warpFromX;
|
state.curLastX += state.warpToX - state.warpFromX;
|
||||||
state.curLastY += state.warpToY - state.warpFromY;
|
state.curLastY += state.warpToY - state.warpFromY;
|
||||||
state.warpState = WARP_STATE_ON;
|
state.warpState = state.serverMode ? WARP_STATE_ON : WARP_STATE_ARMED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue