From 10ba8d16be9e90769e6cab4bebf57278f5ffdaa3 Mon Sep 17 00:00:00 2001 From: Vitor K Date: Thu, 26 Mar 2020 15:36:49 -0300 Subject: Set render window to also accept focus via tabbing (Qt::StrongFocus) (#5089) --- src/yuzu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 4769a612e..b6427432b 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -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(); -- cgit v1.2.3