mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
config: ‘pipe’ is now optional ‘aux’ data in the key-binding struct
This allows us to add helper functions that e.g. compare bindings’ aux data in a generic way.
This commit is contained in:
parent
9814d96206
commit
e5c5cd5478
5 changed files with 116 additions and 83 deletions
|
|
@ -104,8 +104,6 @@ struct key_binding {
|
|||
enum key_binding_type type;
|
||||
|
||||
int action; /* enum bind_action_* */
|
||||
char **pipe_argv;
|
||||
|
||||
xkb_mod_mask_t mods;
|
||||
|
||||
union {
|
||||
|
|
@ -120,6 +118,8 @@ struct key_binding {
|
|||
} m;
|
||||
};
|
||||
|
||||
const struct binding_aux *aux;
|
||||
|
||||
};
|
||||
typedef tll(struct key_binding) key_binding_list_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue