binds: add drag_threshold for click/drag isolation (#9839)
--------- Co-authored-by: Leeman <lstrout@enlj.com>
This commit is contained in:
parent
0399e64274
commit
6538970087
7 changed files with 103 additions and 41 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue