diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-12 09:20:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-12 09:20:05 +0000 |
| commit | 45384839f0e9627cd5b376b045e11c14277d40d0 (patch) | |
| tree | e727a5dbd8d984c121113f665f5bf815104c062c /config.h | |
| parent | config: 'invalid key' is always an error, not a warning (diff) | |
config/input: implement mouse bindings
* New config section, "mouse-bindings", where bindings are defined on
the form "action=BTN_<name>
* pointer_button() handler now scans the bindings list instead of
hardcoding primary-paste to BTN_MIDDLE.
* The implementation handles single- double- and triple clicks in the
bindings, but there is currently no way to define anything but a
single-click binding in the configuration.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ struct config { struct { /* Bindings for "normal" mode */ char *key[BIND_ACTION_COUNT]; - char *mouse[BIND_ACTION_COUNT]; + struct mouse_binding mouse[BIND_ACTION_COUNT]; /* * Special modes |
