Skip to content

Commit

Permalink
InputManager: fix alt-f4 not responding
Browse files Browse the repository at this point in the history
  • Loading branch information
emoose committed Jan 12, 2025
1 parent f8df278 commit 2e54079
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/input_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,9 @@ class InputManager
case SDL_EVENT_GAMEPAD_REMOVED:
onControllerRemoved(event.gdevice.which);
break;
case SDL_EVENT_QUIT:
PostQuitMessage(0);
break;
}

auto* gamepad = getPrimaryGamepad();
Expand Down

0 comments on commit 2e54079

Please sign in to comment.