summaryrefslogtreecommitdiffstats
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-01-21 06:13:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-01-21 06:13:16 +0000
commitcd10f7322a5b33195a8864fa6b7a410387284d16 (patch)
tree0b51d204efd9fc7ce00ea033265f7cccb9d1d6a2 /cmd-switch-client.c
parent83324133055d9906d99f9709970d0e258ac87f79 (diff)
Only hide flags on the current window when the session is attached, from
Roland Walker.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index ab940dc4..7e9516bc 100644
--- a/cmd-switch-client.c
+++ b/cmd-switch-client.c
@@ -108,6 +108,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_ctx *ctx)
recalculate_sizes();
server_check_unattached();
server_redraw_client(c);
+ s->curw->flags &= ~WINLINK_ALERTFLAGS;
return (0);
}