summaryrefslogtreecommitdiff
path: root/src/config/values/ConfigValues.cpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-05-08 11:18:31 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-05-08 11:18:31 +0800
commitc8b23f1ea8c4198c60b08e5aebfb920b2a33a8e3 (patch)
treef66c6c2ca7ace6076e799b304729b5616db89347 /src/config/values/ConfigValues.cpp
parentde9f8dc9831d921cd1ee30d5d14f45f0e345a8ca (diff)
t
Diffstat (limited to 'src/config/values/ConfigValues.cpp')
-rw-r--r--src/config/values/ConfigValues.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/values/ConfigValues.cpp b/src/config/values/ConfigValues.cpp
index 88269989..78c349e8 100644
--- a/src/config/values/ConfigValues.cpp
+++ b/src/config/values/ConfigValues.cpp
@@ -666,6 +666,7 @@ std::vector<SP<IValue>> Values::getConfigValues() {
MS<Bool>("scrolling:follow_focus", "when a window is focused, should the layout move to bring it into view automatically", true),
MS<Float>("scrolling:follow_min_visible", "when a window is focused, require that at least a given fraction of it is visible for focus to follow", 0.4,
{.min = 0.0, .max = 1.0}),
+ MS<Float>("scrolling:focus_edge_ms", "when a window is focused, require that at least a given amount of time of cursor hovering the edge", 250, {.min = 0, .max = 3000}),
MS<String>("scrolling:explicit_column_widths", "A comma-separated list of preconfigured widths for colresize +conf/-conf", "0.333, 0.5, 0.667, 1.0"),
MS<String>("scrolling:direction", "Direction in which new windows appear and the layout scrolls", "right", {.refresh = Supplementary::REFRESH_LAYOUTS}),
MS<Bool>("scrolling:wrap_focus", "Determines if column focus wraps around", true),