mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-04 01:40:21 -05:00
config: add new function config_clone()
This commit is contained in:
parent
42ec264075
commit
f7860aec76
6 changed files with 217 additions and 109 deletions
7
input.c
7
input.c
|
|
@ -519,7 +519,7 @@ convert_key_binding(const struct seat *seat,
|
|||
.sym = sym,
|
||||
.key_codes = key_codes_for_xkb_sym(seat->kbd.xkb_keymap, sym),
|
||||
.action = conf_binding->action,
|
||||
.pipe_argv = conf_binding->pipe.argv,
|
||||
.pipe_argv = conf_binding->pipe.argv.args,
|
||||
};
|
||||
tll_push_back(*bindings, binding);
|
||||
}
|
||||
|
|
@ -568,7 +568,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,
|
||||
.pipe_argv = conf_binding->pipe.argv.args,
|
||||
};
|
||||
tll_push_back(seat->mouse.bindings, binding);
|
||||
}
|
||||
|
|
@ -1970,7 +1970,8 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
if (match != NULL) {
|
||||
consumed = execute_binding(
|
||||
seat, term, match->action, match->pipe.argv, serial);
|
||||
seat, term, match->action, match->pipe.argv.args,
|
||||
serial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue