mirror of https://github.com/mgba-emu/mgba.git
Qt: Grab focus when game starts (fixes #804)
This commit is contained in:
parent
7e45e2efa6
commit
1408e5564a
1
CHANGES
1
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
|
||||
|
|
|
@ -707,6 +707,7 @@ void Window::gameStarted() {
|
|||
}
|
||||
attachWidget(m_display.get());
|
||||
m_display->setMinimumSize(size);
|
||||
setFocus();
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
if (isFullScreen()) {
|
||||
|
|
Loading…
Reference in New Issue