2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Set render window to also accept focus via tabbing (Qt::StrongFocus) (#5089)

This commit is contained in:
Vitor K 2020-03-26 15:36:49 -03:00 committed by FearlessTobi
parent 7a2f60df26
commit 10ba8d16be

View file

@ -1798,7 +1798,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();