mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
GRAPHICS: MACGUI: add the feature that you can close the window when using the menu
This commit is contained in:
parent
b993ab021d
commit
15d46a55f8
@ -980,6 +980,9 @@ bool MacMenu::processEvent(Common::Event &event) {
|
||||
return false;
|
||||
|
||||
switch (event.type) {
|
||||
case Common::EVENT_QUIT:
|
||||
closeMenu();
|
||||
return false;
|
||||
case Common::EVENT_KEYDOWN:
|
||||
return keyEvent(event);
|
||||
case Common::EVENT_LBUTTONDOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user