summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-03-01 10:15:22 +0000
committerVaxry <vaxry@vaxry.net>2026-03-01 10:15:22 +0000
commitf41e3c220366c4432cbef04c7d7a3f28a5d702b4 (patch)
treeb75839d587ffc9d0036783eb500f852267172360 /src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
parentf0a80ce5e0890ff3132f77d01b5bb9bdb92500f9 (diff)
scroll: clamp column widths properly
ref https://github.com/hyprwm/Hyprland/discussions/13458
Diffstat (limited to 'src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp')
-rw-r--r--src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
index 20db6efe..a414a22f 100644
--- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
+++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
@@ -138,6 +138,8 @@ namespace Layout::Tiled {
void moveTargetTo(SP<ITarget> t, Math::eDirection dir, bool silent);
void focusOnInput(SP<ITarget> target, eInputMode input);
+ float defaultColumnWidth();
+
friend struct SScrollingData;
};
};