mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[client] core: remove unnecessary warp and update of cursor location
As we now are using our own backends instead of SDL, there is no longer any need to warp back to the center of the window when in autoCapture mode. This breaks the SDL ds backend behaviour, however as SDL is planned to be removed this is not an issue.
This commit is contained in:
parent
9ae53aca70
commit
78f4249496
@ -479,11 +479,7 @@ void core_handleMouseNormal(double ex, double ey)
|
||||
{
|
||||
g_cursor.delta.x = 0;
|
||||
g_cursor.delta.y = 0;
|
||||
core_warpPointer(g_state.windowCX, g_state.windowCY, false);
|
||||
}
|
||||
|
||||
g_cursor.guest.x = g_state.srcSize.x / 2;
|
||||
g_cursor.guest.y = g_state.srcSize.y / 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user