From 4d81aaa763303b406c7dbbfcc4841e971c991d69 Mon Sep 17 00:00:00 2001 From: r4m0n Date: Mon, 28 May 2018 13:09:12 -0300 Subject: [PATCH] Code cleanup --- client/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/main.c b/client/main.c index 69702dd7..5d17f2cd 100644 --- a/client/main.c +++ b/client/main.c @@ -488,7 +488,8 @@ int eventFilter(void * userdata, SDL_Event * event) x -= state.cursor.x; y -= state.cursor.y; realignGuest = false; - state.accX = state.accY = 0; + state.accX = 0; + state.accY = 0; if (!spice_mouse_motion(x, y)) DEBUG_ERROR("SDL_MOUSEMOTION: failed to send message"); @@ -1536,4 +1537,4 @@ int main(int argc, char * argv[]) } return ret; -} +} \ No newline at end of file