aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-05 15:30:01 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-11 19:19:11 +0000
commit4c50c44cf768238486f80fc5daa70d47688902a1 (patch)
tree12f4b116cf35a7534786fccf7c4195f322e3d7a2 /config.h
parentconfig: value_to_key_combos(): reset modifiers in binding (diff)
config: do mouse binding collision detection after loading the conf
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index ee968748..153b9c27 100644
--- a/config.h
+++ b/config.h
@@ -28,7 +28,7 @@ struct config_key_modifiers {
bool shift;
bool alt;
bool ctrl;
- bool meta;
+ bool super;
};
struct argv {
@@ -58,6 +58,10 @@ struct config_mouse_binding {
int button;
int count;
struct config_binding_pipe pipe;
+
+ /* For error messages in collision handling */
+ const char *path;
+ int lineno;
};
DEFINE_LIST(struct config_mouse_binding);