mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix segfault in linux if user clicks on the window manager close button of the
emulator. Also added the ability to close the emulator with the escape key. Fixed an issue that caused a segmentation fault when trying to close the emulator when running in fullscreen mode, which can also be done using the escape key. This makes fullscreen mode useable in linux! git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5023 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
887d61ec17
commit
13437c1f6b
6 changed files with 45 additions and 16 deletions
|
@ -640,7 +640,11 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
|||
m_pStatusBar->SetStatusText(event.GetString(), event.GetInt());
|
||||
}
|
||||
break;
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
case WM_USER_STOP:
|
||||
main_frame->DoStop();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void CFrame::OnCustomHostMessage(int Id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue