summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-03-28 06:48:46 +0100
committerGitHub <noreply@github.com>2020-03-28 06:48:46 +0100
commit75795a9a63b70d5af38e5f6ea620649ba813b44e (patch)
tree45151690b7dfe9b3ca743189c74c1d05d61ac9aa
parentMerge pull request #3576 from FearlessTobi/port-4906 (diff)
parentSet render window to also accept focus via tabbing (Qt::StrongFocus) (#5089) (diff)
downloadyuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.tar
yuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.tar.gz
yuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.tar.bz2
yuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.tar.lz
yuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.tar.xz
yuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.tar.zst
yuzu-75795a9a63b70d5af38e5f6ea620649ba813b44e.zip
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 415a64b1e..d7e59d0cd 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -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();