diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-01-21 06:13:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-01-21 06:13:16 +0000 |
commit | cd10f7322a5b33195a8864fa6b7a410387284d16 (patch) | |
tree | 0b51d204efd9fc7ce00ea033265f7cccb9d1d6a2 /cmd-attach-session.c | |
parent | 83324133055d9906d99f9709970d0e258ac87f79 (diff) | |
download | rtmux-cd10f7322a5b33195a8864fa6b7a410387284d16.tar.gz rtmux-cd10f7322a5b33195a8864fa6b7a410387284d16.tar.bz2 rtmux-cd10f7322a5b33195a8864fa6b7a410387284d16.zip |
Only hide flags on the current window when the session is attached, from
Roland Walker.
Diffstat (limited to 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 1a1e3c5c..18e06323 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -76,6 +76,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx) ctx->curclient->session = s; session_update_activity(s); server_redraw_client(ctx->curclient); + s->curw->flags &= ~WINLINK_ALERTFLAGS; } else { if (!(ctx->cmdclient->flags & CLIENT_TERMINAL)) { ctx->error(ctx, "not a terminal"); @@ -104,6 +105,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx) environ_update(update, &ctx->cmdclient->environ, &s->environ); server_redraw_client(ctx->cmdclient); + s->curw->flags &= ~WINLINK_ALERTFLAGS; } recalculate_sizes(); server_update_socket(); |