summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-11 12:39:48 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-11 12:39:48 +0000
commit87161e9860f8797849f0beb4f674fb43ce63ce73 (patch)
treeedfad18fe36fd4009cf63e5d3756e86b5bd79bb8 /usr.bin/tmux/cmd-switch-client.c
parentd3a8da15e1561e038069eb70f4a6efc28b143d93 (diff)
Check alerts when session changes, from Patrick Palka.
Diffstat (limited to 'usr.bin/tmux/cmd-switch-client.c')
-rw-r--r--usr.bin/tmux/cmd-switch-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-switch-client.c b/usr.bin/tmux/cmd-switch-client.c
index 4d11de8ab9e..02bed450cf1 100644
--- a/usr.bin/tmux/cmd-switch-client.c
+++ b/usr.bin/tmux/cmd-switch-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-switch-client.c,v 1.34 2015/12/08 00:51:17 mmcc Exp $ */
+/* $OpenBSD: cmd-switch-client.c,v 1.35 2015/12/11 12:39:47 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -131,6 +131,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
server_check_unattached();
server_redraw_client(c);
s->curw->flags &= ~WINLINK_ALERTFLAGS;
+ alerts_check_session(s);
return (CMD_RETURN_NORMAL);
}