Use a command string rather than an action enum

This commit is contained in:
emersion 2017-10-02 17:53:30 +02:00
parent 97d0fe8976
commit 238ded1578
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 6 additions and 19 deletions

View file

@ -18,14 +18,10 @@ struct device_config {
struct wl_list link;
};
enum binding_config_action {
BINDING_CONFIG_ACTION_QUIT,
};
struct binding_config {
xkb_keysym_t *keysyms;
size_t keysyms_len;
enum binding_config_action action;
char *command;
struct wl_list link;
};