Qt: Grab focus when game starts (fixes #804)
Vicki Pfau vi@endrift.com
Tue, 16 Oct 2018 08:51:10 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -130,6 +130,7 @@ - Qt: Fix focus issues with load/save state overlay
- GB Video: Fix SGB border hole size - PSP2: Fix tearing issues (fixes mgba.io/i/1211) - Qt: Fix mapping analog triggers (fixes mgba.io/i/495) + - Qt: Grab focus when game starts (fixes mgba.io/i/804) Misc: - mGUI: Add SGB border configuration option - mGUI: Add support for different settings types
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -707,6 +707,7 @@ reloadDisplayDriver();
} attachWidget(m_display.get()); m_display->setMinimumSize(size); + setFocus(); #ifndef Q_OS_MAC if (isFullScreen()) {