diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-07-29 22:47:20 +0800 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-07-30 17:48:54 +0800 |
| commit | f0aa4546621ac4bb52f02e6d85fbc1a8038cb616 (patch) | |
| tree | 478be38c7f09397653380f93601d9d780b970f0b /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | ba57605266b9ab178963bf56e146f355d1b93cd4 (diff) | |
WX: Fix 'renderer has focus' returning false after start
The main window was already active, so the activate event was never
emitted, and m_renderer_has_focus was never changed.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index e448d2329c..c98297a421 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -654,6 +654,7 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot) m_game_list_ctrl->Disable(); m_game_list_ctrl->Hide(); + m_renderer_has_focus = true; m_render_parent = m_panel; m_render_frame = this; if (SConfig::GetInstance().bKeepWindowOnTop) |
