diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-06 18:29:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-06 18:30:05 +0000 |
| commit | 9ce79e2ef0b0b19b06990302807d6c3b3a755e1e (patch) | |
| tree | ab5f6821303de10a53f465599fc7e9df59b2a5f2 /input.c | |
| parent | config: mouse combos: set count=1 if user has omitted click count (diff) | |
config: add support for pipe-* actions in mouse bindings
Closes #183
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -424,6 +424,7 @@ convert_mouse_binding(struct seat *seat, .mods = conf_modifiers_to_mask(seat, &conf_binding->modifiers), .button = conf_binding->button, .count = conf_binding->count, + .pipe_argv = conf_binding->pipe.argv, }; tll_push_back(seat->mouse.bindings, binding); } @@ -1628,7 +1629,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, if (match != NULL) { seat->mouse.consumed = execute_binding( - seat, term, match->action, NULL, serial); + seat, term, match->action, match->pipe_argv, serial); } } @@ -1661,7 +1662,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, if (match != NULL) { seat->mouse.consumed = execute_binding( - seat, term, match->action, NULL, serial); + seat, term, match->action, match->pipe.argv, serial); } } |
