aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-02 16:25:48 +0200
committeremersion <contact@emersion.fr>2017-10-03 08:46:10 +0200
commit97d0fe89768697ff2f6f19f0c9a900591c1d1a13 (patch)
tree5b978533e2e703f5f80ee77fc4c38eba0e6aad96 /include
parentd32018f1ac5f3b309a01627b4338e42f668b1887 (diff)
Parse bindings in config, execute bindings
Diffstat (limited to 'include')
-rw-r--r--include/rootston/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 0832d88d..deff7578 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -18,6 +18,17 @@ 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;
+ struct wl_list link;
+};
+
struct roots_config {
// TODO: Multiple cursors, multiseat
struct {
@@ -27,6 +38,7 @@ struct roots_config {
struct wl_list outputs;
struct wl_list devices;
+ struct wl_list bindings;
char *config_path;
};