diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-08 14:17:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-08 14:17:57 +0000 |
| commit | fcf483277568a7839708428cd30f53b01465cc04 (patch) | |
| tree | 34da5e2d01c01bc8b862c25b0111473249a5d684 /wayland.c | |
| parent | wip: initial framework for dealing with key/mouse bindings in different modes (diff) | |
input: convert the rest of the normal key bindings to configurable bindings
New actions defined and implemented:
* scrollback up/down
* font size up/down/reset
* spawn terminal
Break out key combo parsing to a new function,
parse_key_binding_for_action(). This function parses a string
containing one or more space separated key combo definitions on the
form (mod1+mod2+...+key), where key is a XKB key name (e.g. KP_Add).
Convert all hardcoded key bindings to configuration based
bindings. These still cannot actually be configured by the user, but
at least lives in the conf struct.
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -911,7 +911,7 @@ wayl_destroy(struct wayland *wayl) if (wayl->presentation != NULL) wp_presentation_destroy(wayl->presentation); - tll_free(wayl->kbd.key_bindings); + tll_free(wayl->kbd.bindings.key); if (wayl->kbd.xkb_compose_state != NULL) xkb_compose_state_unref(wayl->kbd.xkb_compose_state); if (wayl->kbd.xkb_compose_table != NULL) |
