We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To proper emulate this key combination behavior used by RPG_RT even in fullscreen mode.
The text was updated successfully, but these errors were encountered:
Removing _WIN32 ifdef works fine on GNU/Linux desktop. Are these keysims getting issues on specific ports to have this ifdef'd?
diff --git a/src/sdl_ui.cpp b/src/sdl_ui.cpp index 86c9244..1f04da2 100644 --- a/src/sdl_ui.cpp +++ b/src/sdl_ui.cpp @@ -624,13 +624,13 @@ void SdlUi::ProcessKeyDownEvent(SDL_Event &evnt) { #if defined(USE_KEYBOARD) && defined(SUPPORT_KEYBOARD) switch (evnt.key.keysym.sym) { case SDLK_F4: -#ifdef _WIN32 // Close program on LeftAlt+F4 if (evnt.key.keysym.mod & KMOD_LALT) { Player::exit_flag = true; return; } -#endif // Toggle fullscreen on F4 and no alt is pressed if (!(evnt.key.keysym.mod & KMOD_RALT) && !(evnt.key.keysym.mod & KMOD_LALT)) {
Sorry, something went wrong.
Possible that it was fixed by some window manager update in the last two years which resolved this issue for us ;)
adbbb76
Merge pull request #94 from fdelapena/master
a06fa19
Implement Alt+F4 on non-Windows desktops (closes #51)
fdelapena
No branches or pull requests
To proper emulate this key combination behavior used by RPG_RT even in fullscreen mode.
The text was updated successfully, but these errors were encountered: