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:
Daniel Eklöf 2021-06-23 11:28:59 +02:00
parent 4ce3fe2285
commit 0aef2f85ee
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 20 additions and 1 deletions

View file

@ -10,6 +10,7 @@ struct private {
int height;
int left_spacing, right_spacing;
int left_margin, right_margin;
int trackpad_sensitivity;
pixman_color_t background;