mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
config: default drag_lock to 0
This commit is contained in:
@@ -626,7 +626,7 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
||||
.description = "When enabled, lifting the finger off while dragging will not drop the dragged item. 0 -> disabled, 1 -> enabled with timeout, 2 -> enabled sticky."
|
||||
"dragging will not drop the dragged item.",
|
||||
.type = CONFIG_OPTION_INT,
|
||||
.data = SConfigOptionDescription::SRangeData{2, 0, 2},
|
||||
.data = SConfigOptionDescription::SRangeData{0, 0, 2},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "input:touchpad:tap-and-drag",
|
||||
|
@@ -654,7 +654,7 @@ CConfigManager::CConfigManager() {
|
||||
registerConfigVar("input:touchpad:middle_button_emulation", Hyprlang::INT{0});
|
||||
registerConfigVar("input:touchpad:tap-to-click", Hyprlang::INT{1});
|
||||
registerConfigVar("input:touchpad:tap-and-drag", Hyprlang::INT{1});
|
||||
registerConfigVar("input:touchpad:drag_lock", Hyprlang::INT{2});
|
||||
registerConfigVar("input:touchpad:drag_lock", Hyprlang::INT{0});
|
||||
registerConfigVar("input:touchpad:scroll_factor", {1.f});
|
||||
registerConfigVar("input:touchpad:flip_x", Hyprlang::INT{0});
|
||||
registerConfigVar("input:touchpad:flip_y", Hyprlang::INT{0});
|
||||
@@ -777,7 +777,7 @@ CConfigManager::CConfigManager() {
|
||||
m_config->addSpecialConfigValue("device", "middle_button_emulation", Hyprlang::INT{0});
|
||||
m_config->addSpecialConfigValue("device", "tap-to-click", Hyprlang::INT{1});
|
||||
m_config->addSpecialConfigValue("device", "tap-and-drag", Hyprlang::INT{1});
|
||||
m_config->addSpecialConfigValue("device", "drag_lock", Hyprlang::INT{2});
|
||||
m_config->addSpecialConfigValue("device", "drag_lock", Hyprlang::INT{0});
|
||||
m_config->addSpecialConfigValue("device", "left_handed", Hyprlang::INT{0});
|
||||
m_config->addSpecialConfigValue("device", "scroll_method", {STRVAL_EMPTY});
|
||||
m_config->addSpecialConfigValue("device", "scroll_button", Hyprlang::INT{0});
|
||||
|
Reference in New Issue
Block a user