diff options
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 5619689abc..9582facf2d 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -241,6 +241,10 @@ class PlatformX11 : public Platform key = XLookupKeysym((XKeyEvent*)&event, 0); if (key == XK_Escape) { + s_shutdown_requested.Set(); + } + else if (key == XK_F10) + { if (Core::GetState() == Core::State::Running) { if (SConfig::GetInstance().bHideCursor) |
