aboutsummaryrefslogtreecommitdiff
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-01-21 19:30:07 +0000
committerTiago Cunha <tcunha@gmx.com>2012-01-21 19:30:07 +0000
commit674de910ca4c8651d6c9749775e960cb224332f9 (patch)
tree66221317414ecb2b3386b5d2b42581a0c6ed98e7 /cmd-switch-client.c
parent5434a2759ae3452bc11dc0b5e804e421a8c5d7a3 (diff)
downloadrtmux-674de910ca4c8651d6c9749775e960cb224332f9.tar.gz
rtmux-674de910ca4c8651d6c9749775e960cb224332f9.tar.bz2
rtmux-674de910ca4c8651d6c9749775e960cb224332f9.zip
Sync OpenBSD patchset 1003:
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 5565e094..656bf06b 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);
}