aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-30 16:57:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-30 16:58:54 +0000
commitf6533a71e4996f2f4cd45336966cebf6c3f34b1e (patch)
treec3c85c360a4cd690764707a1254bc10a23902508 /config.h
parentreadme: remove 'explanation' of server/daemon mode (diff)
user-notification: 'productify' the user-warning system
* Rename user_warning to user_notification * Add warning and error types (in addition to the existing deprecated) * Simplify logic when emitting a user notification after forking; we don't need to copy the notification data since we're in a new process and have total control over that memory.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index 65fedf08..791abe66 100644
--- a/config.h
+++ b/config.h
@@ -6,6 +6,7 @@
#include <tllist.h>
#include "terminal.h"
+#include "user-notification.h"
#include "wayland.h"
struct config_font {
@@ -123,7 +124,7 @@ struct config {
off_t max_shm_pool_size;
} tweak;
- user_warning_list_t warnings;
+ user_notifications_t notifications;
};
bool config_load(struct config *conf, const char *path);