Skip to content

Commit

Permalink
WX: Fix 'renderer has focus' returning false after start
Browse files Browse the repository at this point in the history
The main window was already active, so the activate event was never
emitted, and m_renderer_has_focus was never changed.
  • Loading branch information
leoetlino committed Jul 29, 2017
1 parent 334e117 commit 96f1b9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/FrameTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96f1b9f

Please sign in to comment.