diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-06-21 01:27:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-06-21 01:27:46 +0000 |
commit | e63f0546a166c442464c7d8500a74b38c036432a (patch) | |
tree | d087ac452070d41659c6e03dcb6d2f0e04079885 /cmd-new-window.c | |
parent | 447a07e9f83297bf0ad5f973e67eb32488fc1b8d (diff) | |
download | rtmux-e63f0546a166c442464c7d8500a74b38c036432a.tar.gz rtmux-e63f0546a166c442464c7d8500a74b38c036432a.tar.bz2 rtmux-e63f0546a166c442464c7d8500a74b38c036432a.zip |
Having a list of winlinks->alerts for each session is stupid, just store
the alert flags directly in the winlink itself.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r-- | cmd-new-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c index cf32f29e..32c42eb4 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -162,7 +162,7 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx) * Can't use session_detach as it will destroy session if this * makes it empty. */ - session_alert_cancel(s, wl); + wl->flags &= ~WINLINK_ALERTFLAGS; winlink_stack_remove(&s->lastw, wl); winlink_remove(&s->windows, wl); |