mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-29 14:49:44 +00:00
Windows: ignore Alt+F4
This commit is contained in:
parent
62deb590a6
commit
7131e8205d
@ -2287,6 +2287,9 @@ static void handle_events(void)
|
||||
|
||||
// Window "close" widget clicked
|
||||
case SDL_QUIT:
|
||||
#ifdef WIN32
|
||||
if (SDL_GetModState() & (KMOD_LALT | KMOD_RALT)) break;
|
||||
#endif
|
||||
ADBKeyDown(0x7f); // Power key
|
||||
ADBKeyUp(0x7f);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user