summaryrefslogtreecommitdiff
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authorandrewandreii <63286820+andrewandreii@users.noreply.github.com>2025-02-17 04:03:27 +0200
committerGitHub <noreply@github.com>2025-02-17 03:03:27 +0100
commit59c615c321c45302491de3b1c003844c86aefca7 (patch)
treec76dd7cbe2a4dff1e6129117b40caaf12323e83f /src/config/ConfigDescriptions.hpp
parente2a9271150f9f1a2cba825f6f21bb130effc6b11 (diff)
input: add follow_mouse_threshold (#9392)
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index 23635760..1283050d 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -502,6 +502,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.data = SConfigOptionDescription::SRangeData{1, 0, 3},
},
SConfigOptionDescription{
+ .value = "input:follow_mouse_threshold",
+ .description = "The smallest distance in logical pixels the mouse needs to travel for the window under it to get focused. Works only with follow_mouse = 1.",
+ .type = CONFIG_OPTION_FLOAT,
+ .data = SConfigOptionDescription::SFloatData{},
+ },
+ SConfigOptionDescription{
.value = "input:focus_on_close",
.description = "Controls the window focus behavior when a window is closed. When set to 0, focus will shift to the next window candidate. When set to 1, focus will shift "
"to the window under the cursor.",