Merge pull request #10027 from ToadKing/fix-mouse-capture

fix mouse capture hotkey not working
This commit is contained in:
Twinaphex 2020-01-19 04:14:23 +01:00 committed by GitHub
commit 506b524db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14983,12 +14983,6 @@ static unsigned menu_event(
ret = MENU_ACTION_TOGGLE; ret = MENU_ACTION_TOGGLE;
} }
if (menu_keyboard_key_state[RETROK_F11])
{
command_event(CMD_EVENT_GRAB_MOUSE_TOGGLE, NULL);
menu_keyboard_key_state[RETROK_F11] = 0;
}
/* Get pointer (mouse + touchscreen) input */ /* Get pointer (mouse + touchscreen) input */
/* > If pointer input is disabled, do nothing */ /* > If pointer input is disabled, do nothing */