aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-08 14:17:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-08 14:17:57 +0000
commitfcf483277568a7839708428cd30f53b01465cc04 (patch)
tree34da5e2d01c01bc8b862c25b0111473249a5d684 /wayland.c
parentwip: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland.c b/wayland.c
index c508c710..8916baed 100644
--- a/wayland.c
+++ b/wayland.c
@@ -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)