diff options
| author | alaricljs <me@mooluv.com> | 2025-04-12 10:43:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 16:43:13 +0200 |
| commit | 65389700878640fa0e90419b9cf34f48e4186fca (patch) | |
| tree | 55a818c23406da1742599cb2f38ba35d1fc09a6a /src/config/ConfigDescriptions.hpp | |
| parent | 0399e64274ae5c05a7a40ad78e4d4852d9957e99 (diff) | |
binds: add drag_threshold for click/drag isolation (#9839)
---------
Co-authored-by: Leeman <lstrout@enlj.com>
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
| -rw-r--r-- | src/config/ConfigDescriptions.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 7037f537..78b9f559 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1326,6 +1326,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { .type = CONFIG_OPTION_BOOL, .data = SConfigOptionDescription::SBoolData{false}, }, + SConfigOptionDescription{ + .value = "binds:drag_threshold", + .description = "Movement threshold in pixels for window dragging and c/g bind flags. 0 to disable and grab on mousedown.", + .type = CONFIG_OPTION_INT, + .data = SConfigOptionDescription::SRangeData{0, 0, INT_MAX}, + }, /* * xwayland: |
