aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-25 16:32:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-25 16:32:57 +0000
commita213e14ca35e73a1f353ae97f2e398d145e19f69 (patch)
treefb1624e20a7380b18621259d3c9d5913083176ac /terminal.h
parentinput: allow mouse selections to start inside the margins (diff)
parentosc+notify: strcmp() -> streq() (diff)
Merge branch 'kitty-notifications'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 44a101eb..92d1e8f5 100644
--- a/terminal.h
+++ b/terminal.h
@@ -20,6 +20,7 @@
#include "fdm.h"
#include "key-binding.h"
#include "macros.h"
+#include "notify.h"
#include "reaper.h"
#include "shm.h"
#include "wayland.h"
@@ -798,6 +799,12 @@ struct terminal {
void *cb_data;
} shutdown;
+ /* Notifications that either haven't been sent yet, or have been
+ sent but not yet dismissed */
+ tll(struct notification) kitty_notifications;
+ tll(struct notification) active_notifications;
+ struct notification_icon notification_icons[32];
+
char *foot_exe;
char *cwd;