diff --git a/CHANGES b/CHANGES index d11697aee..4b0a6abf8 100644 --- a/CHANGES +++ b/CHANGES @@ -123,6 +123,7 @@ Bugfixes: - 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 diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index ea03858f0..f876892e0 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -707,6 +707,7 @@ void Window::gameStarted() { } attachWidget(m_display.get()); m_display->setMinimumSize(size); + setFocus(); #ifndef Q_OS_MAC if (isFullScreen()) {