aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index dc4f37b6..e95a3615 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1330,6 +1330,10 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
}
}
+ for (size_t i = 0; i < ALEN(term->notification_icons); i++) {
+ term->notification_icons[i].tmp_file_fd = -1;
+ }
+
add_utmp_record(conf, reaper, ptmx);
if (!pty_path) {