Only make GUI_MOD SDL events happen when no other modifiers are active
Jeffrey Pfau jeffrey@endrift.com
Tue, 29 Jul 2014 22:48:55 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -101,7 +101,7 @@ GBAThreadContinue(context);
return; default: if (event->type == SDL_KEYDOWN) { - if (event->keysym.mod & GUI_MOD) { + if ((event->keysym.mod & GUI_MOD) && (event->keysym.mod & GUI_MOD) == event->keysym.mod) { switch (event->keysym.sym) { #if SDL_VERSION_ATLEAST(2, 0, 0) case SDLK_f: