diff --git a/VERSION b/VERSION index f2fb620c..94bfc4ae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-78-g05dc713dac+1 \ No newline at end of file +B1-79-g13f55011c0+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 87f71452..414e642a 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -956,7 +956,7 @@ int eventFilter(void * userdata, SDL_Event * event) } case SDL_MOUSEWHEEL: - if (state.ignoreInput || !params.useSpiceInput) + if (state.ignoreInput || !params.useSpiceInput || !state.cursorInView) break; if ( @@ -970,7 +970,7 @@ int eventFilter(void * userdata, SDL_Event * event) break; case SDL_MOUSEBUTTONDOWN: - if (state.ignoreInput || !params.useSpiceInput) + if (state.ignoreInput || !params.useSpiceInput || !state.cursorInView) break; // The SPICE protocol doesn't support more than a standard PS/2 3 button mouse @@ -987,7 +987,7 @@ int eventFilter(void * userdata, SDL_Event * event) break; case SDL_MOUSEBUTTONUP: - if (state.ignoreInput || !params.useSpiceInput) + if (state.ignoreInput || !params.useSpiceInput || !state.cursorInView) break; // The SPICE protocol doesn't support more than a standard PS/2 3 button mouse