summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-08-28 12:16:29 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-08-28 12:16:29 +0000
commitc393cc737257c51ef300e0a654e76ce531d21716 (patch)
tree465e3752abec308fce169295a4f7608bd7e58998 /usr.bin/tmux/cmd-switch-client.c
parenta0f66042c48615e4ba168910e70b22e732409314 (diff)
Run status update on a per-client timer at status-interval.
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 367c3e38bc1..b3e1767cd41 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.27 2015/07/06 14:24:57 nicm Exp $ */
+/* $OpenBSD: cmd-switch-client.c,v 1.28 2015/08/28 12:16:28 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -127,6 +127,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
if (c->session != NULL)
c->last_session = c->session;
c->session = s;
+ status_timer_start(c);
session_update_activity(s);
recalculate_sizes();