forked from external/yambar
config: add bar.trackpad-sensitivity
This is an integer that specifies the amount of scrolling that needs to be accumulated before a wheel-up/down event is emitted. A higher value means you need to drag your fingers a longer distance before the event is emitted. The default is 30.
This commit is contained in:
parent
4ce3fe2285
commit
0aef2f85ee
7 changed files with 20 additions and 1 deletions
|
@ -408,6 +408,7 @@ bar_new(const struct bar_config *config)
|
|||
priv->right_spacing = config->right_spacing;
|
||||
priv->left_margin = config->left_margin;
|
||||
priv->right_margin = config->right_margin;
|
||||
priv->trackpad_sensitivity = config->trackpad_sensitivity;
|
||||
priv->border.width = config->border.width;
|
||||
priv->border.color = config->border.color;
|
||||
priv->border.left_margin = config->border.left_margin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue