Only make GUI_MOD SDL events happen when no other modifiers are active

This commit is contained in:
Jeffrey Pfau 2014-07-29 22:48:55 -07:00
parent 9873da0eb7
commit dbc6567317
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents
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: