mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
config: do mouse binding collision detection after loading the conf
This commit is contained in:
parent
bb4b4ae43d
commit
4c50c44cf7
3 changed files with 238 additions and 226 deletions
6
config.h
6
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue