mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-28 07:54:51 -04:00
Last bit of housekeeping so I'm satisfied
This commit is contained in:
+1
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user