From e8bb6bab103771d9be0d82d470626499c566bb87 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 8 Nov 2024 20:45:12 +1000 Subject: [PATCH] Qt: Don't allow doubleclick-to-fullscreen in relative mode --- src/duckstation-qt/displaywidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duckstation-qt/displaywidget.cpp b/src/duckstation-qt/displaywidget.cpp index e91790d5f..b49b72c3a 100644 --- a/src/duckstation-qt/displaywidget.cpp +++ b/src/duckstation-qt/displaywidget.cpp @@ -319,7 +319,7 @@ bool DisplayWidget::event(QEvent* event) if (event->type() == QEvent::MouseButtonDblClick && static_cast(event)->button() == Qt::LeftButton && QtHost::IsSystemValid() && !FullscreenUI::HasActiveWindow() && - ((!QtHost::IsSystemPaused() && + ((!QtHost::IsSystemPaused() && !m_relative_mouse_enabled && !InputManager::HasAnyBindingsForKey(InputManager::MakePointerButtonKey(0, 0))) || (QtHost::IsSystemPaused() && !ImGuiManager::WantsMouseInput())) && Host::GetBoolSettingValue("Main", "DoubleClickTogglesFullscreen", true))