From b5db6ca08f61660cf05fade855a78836ea4559a2 Mon Sep 17 00:00:00 2001 From: lapLapych Date: Wed, 29 Apr 2026 23:50:16 +0300 Subject: [PATCH] fix(config-values): add min, max values for binds:repeat_delay/repeat_rate Signed-off-by: lapLapych --- src/config/values/ConfigValues.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/values/ConfigValues.cpp b/src/config/values/ConfigValues.cpp index 26505d083..97c095831 100644 --- a/src/config/values/ConfigValues.cpp +++ b/src/config/values/ConfigValues.cpp @@ -500,8 +500,8 @@ std::vector> Values::getConfigValues() { MS("binds:allow_pin_fullscreen", "Allows fullscreen to pinned windows, and restore their pinned status afterwards", false), MS("binds:drag_threshold", "Movement threshold in pixels for window dragging and c/g bind flags. 0 to disable.", 0, {.min = 0, .max = std::numeric_limits::max()}), - MS("binds:repeat_rate", "if 0, will use input:repeat_rate / how frequently bind repeats", 0), - MS("binds:repeat_delay", "if 0, will use input:repeat_delay / delay before bind starts repeating", 0), + MS("binds:repeat_rate", "if 0, will use input:repeat_rate / how frequently bind repeats", 0, {.min = 0, .max = 200}), + MS("binds:repeat_delay", "if 0, will use input:repeat_delay / delay before bind starts repeating", 0, {.min = 0, .max = 2000}), /* * xwayland: