yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Merge pull request #3573 from FearlessTobi/port-5089

Port citra-emu/citra#5089: "Set render window's focus policy to Qt::StrongFocus"
This commit is contained in:
bunnei 2020-03-28 01:48:46 -04:00 committed by GitHub
commit 75795a9a63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ void GMainWindow::ToggleWindowMode() {
// Render in the main window...
render_window->BackupGeometry();
ui.horizontalLayout->addWidget(render_window);
render_window->setFocusPolicy(Qt::ClickFocus);
render_window->setFocusPolicy(Qt::StrongFocus);
if (emulation_running) {
render_window->setVisible(true);
render_window->setFocus();