mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-04 01:40:21 -05:00
config: configuration errors are no longer fatal
Instead of refusing to start foot on configuration errors, we start and print a user-notification.
This commit is contained in:
parent
639a61abd8
commit
b00dfcf7b6
4 changed files with 144 additions and 80 deletions
2
config.h
2
config.h
|
|
@ -127,7 +127,7 @@ struct config {
|
|||
user_notifications_t notifications;
|
||||
};
|
||||
|
||||
bool config_load(struct config *conf, const char *path);
|
||||
bool config_load(struct config *conf, const char *path, bool errors_are_fatal);
|
||||
void config_free(struct config conf);
|
||||
|
||||
struct config_font config_font_parse(const char *pattern);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue