Last bit of housekeeping so I'm satisfied

This commit is contained in:
Irastris
2026-05-27 21:45:53 -04:00
parent adede6ab9c
commit bd8fed40ac
+1 -2
View File
@@ -220,12 +220,11 @@ void handle_event(const SDL_Event& event) noexcept {
void onFocusLost() {
SDL_Window* window = aurora::window::get_sdl_window();
if (window != nullptr) {
SDL_SetWindowRelativeMouseMode(window, false);
syncCaptureState(window, false);
syncGrabState(window, false);
}
s_idle_frames = 0;
set_cursor_visible(true);
reset_deltas();
}
void onFocusGained() {