Rewrite action handling to allow multiple actions at once

This commit is contained in:
Consolatis 2022-01-05 09:11:24 +01:00 committed by Johan Malm
parent a54ce40e1c
commit 0b45cce648
12 changed files with 276 additions and 140 deletions

View file

@ -61,5 +61,6 @@ keybind_create(const char *keybind)
wl_list_insert(&rc.keybinds, &k->link);
k->keysyms = malloc(k->keysyms_len * sizeof(xkb_keysym_t));
memcpy(k->keysyms, keysyms, k->keysyms_len * sizeof(xkb_keysym_t));
wl_list_init(&k->actions);
return k;
}