mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-24 03:03:40 +00:00
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:
commit
75795a9a63
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue