conf: bindings: allow several mappings for the same action

If the bindings has different pipe command associated with them, treat
them as different actions.
This commit is contained in:
Daniel Eklöf 2020-07-15 16:39:07 +02:00
parent 062b0eb7ab
commit 1541531765
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 166 additions and 87 deletions

View file

@ -51,9 +51,9 @@ struct key_binding_normal {
};
struct mouse_binding {
enum bind_action_normal action;
uint32_t button;
int count;
enum bind_action_normal action;
};
enum bind_action_search {