Skip to content

Commit

Permalink
InputManager: Add missing call to UpdateHostMouseMode()
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 15, 2024
1 parent 6e2223b commit 1f1a664
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/util/input_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1f1a664

Please sign in to comment.