diff options
author | Daniel Lundqvist <luda09yl@student.hj.se> | 2014-12-26 19:42:27 +0100 |
---|---|---|
committer | Daniel Lundqvist <luda09yl@student.hj.se> | 2014-12-26 19:42:27 +0100 |
commit | ba4ca041f4be1285185a56ba37ae2023c27a326b (patch) | |
tree | 8b8fcf42e095a133781679ddbb1d4ea8d2b519f2 /src/citra_qt/bootmanager.cpp | |
parent | 9d90b26020af83d11ec0900117495901d445e907 (diff) |
Allow focus only when in popout mode
Only allow manually setting focus to the rendering widget when in Single Window mode. Apply this behavior to when changing the mode while an app is running.
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
-rw-r--r-- | src/citra_qt/bootmanager.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index d44ddb096..6d08d6afc 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -123,9 +123,6 @@ GRenderWindow::GRenderWindow(QWidget* parent) : QWidget(parent), emu_thread(this std::string window_title = Common::StringFromFormat("Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc); setWindowTitle(QString::fromStdString(window_title)); - // Allow manually setting focus to the widget. - setFocusPolicy(Qt::ClickFocus); - keyboard_id = KeyMap::NewDeviceId(); ReloadSetKeymaps(); |