diff --git a/src/util/input_manager.cpp b/src/util/input_manager.cpp index b8e8e22ae..6b9df1911 100644 --- a/src/util/input_manager.cpp +++ b/src/util/input_manager.cpp @@ -1358,9 +1358,12 @@ void InputManager::UpdateRelativeMouseMode() if (s_relative_mouse_mode == has_relative_mode_bindings && s_hide_host_mouse_cursor == hide_mouse_cursor) return; +#ifndef __ANDROID__ s_relative_mouse_mode = has_relative_mode_bindings; s_hide_host_mouse_cursor = hide_mouse_cursor; - UpdateRelativeMouseMode(); +#endif + + UpdateHostMouseMode(); } void InputManager::UpdateHostMouseMode()