From f0aa4546621ac4bb52f02e6d85fbc1a8038cb616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 29 Jul 2017 22:47:20 +0800 Subject: [PATCH] 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. --- Source/Core/DolphinWX/FrameTools.cpp | 1 + 1 file changed, 1 insertion(+) 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 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)