diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 2733f75fa..694010f8b 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -769,9 +769,11 @@ void Gui::handleMouseInput() if (touchManager.processEvent(mouseInput)) { #ifdef ANDROID +#ifndef USE_SDL2 SDL_WarpMouse(mLastMouseX, mLastMouseY, mLastMouseRealX, mLastMouseRealY); #endif +#endif mMouseInactivityTimer = 0; continue; } |