mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
Code cleanup
This commit is contained in:
parent
8cb25792ba
commit
4d81aaa763
@ -488,7 +488,8 @@ int eventFilter(void * userdata, SDL_Event * event)
|
|||||||
x -= state.cursor.x;
|
x -= state.cursor.x;
|
||||||
y -= state.cursor.y;
|
y -= state.cursor.y;
|
||||||
realignGuest = false;
|
realignGuest = false;
|
||||||
state.accX = state.accY = 0;
|
state.accX = 0;
|
||||||
|
state.accY = 0;
|
||||||
|
|
||||||
if (!spice_mouse_motion(x, y))
|
if (!spice_mouse_motion(x, y))
|
||||||
DEBUG_ERROR("SDL_MOUSEMOTION: failed to send message");
|
DEBUG_ERROR("SDL_MOUSEMOTION: failed to send message");
|
||||||
|
Loading…
Reference in New Issue
Block a user