aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-08 18:35:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-09 16:51:05 +0000
commite5c5cd54788076973f08f6aadf0d2b2f954a0423 (patch)
treee8af28ce95bf2ffee4f8f00ec08b253f45b82d84 /wayland.h
parentconfig: rename enum config_key_binding_type -> key_binding_type (diff)
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.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wayland.h b/wayland.h
index ea0b8ae6..81109673 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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;