input: mouse: match binding if binding’s click count is *less*

Allow a mouse binding to match even if its click count is less than
the actual click count.

If there are multiple bindings that match, use the one with the
highest click count (that less than, or equal to the actual click
count).

Closes #146
This commit is contained in:
Daniel Eklöf 2020-09-27 14:31:39 +02:00
parent 585fd7ad1f
commit 59ca98f989
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 25 additions and 6 deletions

View file

@ -20,6 +20,13 @@
### Deprecated
### Removed
### Fixed
* Mouse bindings now match even if the actual click count is larger
than specified in the binding. This allows you to, for example,
quickly press the middle-button to paste multiple times
(https://codeberg.org/dnkl/foot/issues/146).
### Security
### Contributors