diff --git a/client/main.c b/client/main.c index 5d933ca6..7087e1f8 100644 --- a/client/main.c +++ b/client/main.c @@ -679,10 +679,12 @@ int eventThread(void * arg) case SDL_MOUSEMOTION: { if ( - event.motion.x < state.dstRect.x || - event.motion.x > state.dstRect.x + state.dstRect.w || - event.motion.y < state.dstRect.y || - event.motion.y > state.dstRect.y + state.dstRect.h + !serverMode && ( + event.motion.x < state.dstRect.x || + event.motion.x > state.dstRect.x + state.dstRect.w || + event.motion.y < state.dstRect.y || + event.motion.y > state.dstRect.y + state.dstRect.h + ) ) { realignGuest = true;