From 84ba4b1a27b149dbce44a40f5ea120e9bd13bf47 Mon Sep 17 00:00:00 2001 From: Frederick Lee Date: Thu, 19 Mar 2026 18:04:45 -0400 Subject: [PATCH] algo/scroll: make window click respect focus_fit_method --- src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp index 8a5b2d59a..6daa9d901 100644 --- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp +++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp @@ -579,7 +579,7 @@ void CScrollingAlgorithm::focusOnInput(SP target, eInputMode input) { return; static const auto PFITMETHOD = CConfigValue("scrolling:focus_fit_method"); - if (*PFITMETHOD == 1 || input == INPUT_MODE_CLICK) + if (*PFITMETHOD == 1) m_scrollingData->fitCol(TARGETDATA->column.lock()); else m_scrollingData->centerCol(TARGETDATA->column.lock());