diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-02-18 17:40:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-02-18 17:40:19 +0000 |
| commit | f76c9e77f1bd2c2c844a703542e939bfb0e77512 (patch) | |
| tree | 96d6ab4a1c0aa744d78728605e037038f6646acb /config.h | |
| parent | main: --server: don’t exit with code 0 on failure (diff) | |
| parent | doc: foot.ini: document the new [text-bindings] section (diff) | |
Merge branch 'custom-input-escapes'
Closes #325
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -47,6 +47,7 @@ struct argv { enum binding_aux_type { BINDING_AUX_NONE, BINDING_AUX_PIPE, + BINDING_AUX_TEXT, }; struct binding_aux { @@ -55,6 +56,11 @@ struct binding_aux { union { struct argv pipe; + + struct { + uint8_t *data; + size_t len; + } text; }; }; @@ -63,6 +69,11 @@ enum key_binding_type { MOUSE_BINDING, }; +struct config_key_binding_text { + char *text; + bool master_copy; +}; + struct config_key_binding { int action; /* One of the varios bind_action_* enums from wayland.h */ struct config_key_modifiers modifiers; |
