aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-12 16:26:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-12 16:26:02 +0000
commit47fa91e02bd3ed9a4d9d988f1c05c1662a4991ba (patch)
tree5300d4dd013e2fec43ee2dad809a8eb57108cde5 /config.h
parentquirks: weston_csd_{on,off}: don't do anything in fullscreen mode (diff)
parentdoc/foot.5: mention that *all* actions can be used in mouse bindings (diff)
Merge branch 'bindings'
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h b/config.h
index a89637e1..bf205305 100644
--- a/config.h
+++ b/config.h
@@ -37,6 +37,20 @@ struct config {
} cursor;
struct {
+ /* Bindings for "normal" mode */
+ char *key[BIND_ACTION_COUNT];
+ struct mouse_binding mouse[BIND_ACTION_COUNT];
+
+ /*
+ * Special modes
+ */
+
+ /* While searching (not - action to *start* a search is in the
+ * 'key' bindings above */
+ char *search[BIND_ACTION_COUNT];
+ } bindings;
+
+ struct {
enum { CONF_CSD_PREFER_SERVER, CONF_CSD_PREFER_CLIENT } preferred;
int title_height;