input: parse_key_binding_for_action: export function

This commit is contained in:
Daniel Eklöf 2020-03-09 19:47:22 +01:00
parent f78a8a77ed
commit 0c72128405
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 9 additions and 4 deletions

View file

@ -9,5 +9,10 @@ extern const struct wl_keyboard_listener keyboard_listener;
extern const struct wl_pointer_listener pointer_listener;
void input_repeat(struct wayland *wayl, uint32_t key);
bool input_parse_key_binding_for_action(
struct xkb_keymap *keymap, enum binding_action action,
const char *combos, key_binding_list_t *bindings);
void input_execute_binding(
struct terminal *term, enum binding_action action, uint32_t serial);