From 1f1a664908176c2247187bdd3ac6a07de7a06828 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 15 Dec 2024 22:05:16 +1000 Subject: [PATCH] InputManager: Add missing call to UpdateHostMouseMode() --- src/util/input_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()