InputManager: Add missing call to UpdateHostMouseMode()

This commit is contained in:
Stenzek 2024-12-15 22:05:16 +10:00
parent 6e2223b517
commit 1f1a664908
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -1358,9 +1358,12 @@ void InputManager::UpdateRelativeMouseMode()
if (s_relative_mouse_mode == has_relative_mode_bindings && s_hide_host_mouse_cursor == hide_mouse_cursor) if (s_relative_mouse_mode == has_relative_mode_bindings && s_hide_host_mouse_cursor == hide_mouse_cursor)
return; return;
#ifndef __ANDROID__
s_relative_mouse_mode = has_relative_mode_bindings; s_relative_mouse_mode = has_relative_mode_bindings;
s_hide_host_mouse_cursor = hide_mouse_cursor; s_hide_host_mouse_cursor = hide_mouse_cursor;
UpdateRelativeMouseMode(); #endif
UpdateHostMouseMode();
} }
void InputManager::UpdateHostMouseMode() void InputManager::UpdateHostMouseMode()