Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9794 from Filoppi/fix_input_focus_bug
Fix input focus checks being wrong (issue 12540)
  • Loading branch information
JMC47 committed Jun 8, 2021
2 parents 8f9bb56 + 7c83b74 commit ec8257e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt/Host.cpp
Expand Up @@ -88,7 +88,7 @@ bool Host::GetRenderFocus()
#ifdef _WIN32
// Unfortunately Qt calls SetRenderFocus() with a slight delay compared to what we actually need
// to avoid inputs that cause a focus loss to be processed by the emulation
if (m_render_to_main)
if (m_render_to_main && !m_render_fullscreen)
return GetForegroundWindow() == (HWND)m_main_window_handle.load();
return GetForegroundWindow() == (HWND)m_render_handle.load();
#else
Expand Down

0 comments on commit ec8257e

Please sign in to comment.