mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-06 06:37:59 +02:00
algo/scroll: make window click respect focus_fit_method
This commit is contained in:
parent
b940b0d2c1
commit
84ba4b1a27
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ void CScrollingAlgorithm::focusOnInput(SP<ITarget> target, eInputMode input) {
|
|||
return;
|
||||
|
||||
static const auto PFITMETHOD = CConfigValue<Hyprlang::INT>("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());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue