Skip to content

Fix ALT + F4 not working #4237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 31, 2025
Merged

Fix ALT + F4 not working #4237

merged 3 commits into from
May 31, 2025

Conversation

lopezloo
Copy link
Member

Fixes ALT + F4 not working.

@lopezloo lopezloo added the bug Something isn't working label May 27, 2025
@tederis
Copy link
Member

tederis commented May 31, 2025

I guess it would be better to disconnect first and exit the game gracefully.

@tederis tederis added bugfix Solution to a bug of any kind and removed bug Something isn't working labels May 31, 2025
@lopezloo
Copy link
Member Author

lopezloo commented May 31, 2025

I guess it would be better to disconnect first and exit the game gracefully.

It actually should end game gracefully:

// Quit message?
if (uMsg == WM_CLOSE)
{
g_pCore->Quit();
}

Just like clicking close icon on game window.

@lopezloo lopezloo merged commit 93963a9 into master May 31, 2025
@lopezloo lopezloo deleted the alt-f4 branch May 31, 2025 11:23
MTABot pushed a commit that referenced this pull request May 31, 2025
93963a9 Fix ALT + F4 not working (PR #4237)
caabf63 Visual Studio Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Solution to a bug of any kind
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants