fix(config-values): add min, max values for binds:repeat_delay/repeat_rate

Signed-off-by: lapLapych <xarashocoba@gmail.com>
This commit is contained in:
lapLapych 2026-04-29 23:50:16 +03:00
parent 44c6f9a9cf
commit b5db6ca08f

View file

@ -500,8 +500,8 @@ std::vector<SP<IValue>> Values::getConfigValues() {
MS<Bool>("binds:allow_pin_fullscreen", "Allows fullscreen to pinned windows, and restore their pinned status afterwards", false),
MS<Int>("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<int>::max()}),
MS<Int>("binds:repeat_rate", "if 0, will use input:repeat_rate / how frequently bind repeats", 0),
MS<Int>("binds:repeat_delay", "if 0, will use input:repeat_delay / delay before bind starts repeating", 0),
MS<Int>("binds:repeat_rate", "if 0, will use input:repeat_rate / how frequently bind repeats", 0, {.min = 0, .max = 200}),
MS<Int>("binds:repeat_delay", "if 0, will use input:repeat_delay / delay before bind starts repeating", 0, {.min = 0, .max = 2000}),
/*
* xwayland: