config: do mouse binding collision detection after loading the conf

This commit is contained in:
Daniel Eklöf 2021-12-05 16:30:01 +01:00
parent bb4b4ae43d
commit 4c50c44cf7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 238 additions and 226 deletions

View file

@ -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);