summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-08-28 13:01:04 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-08-28 13:01:04 +0000
commitaa118bc4839dcbadcc66dab8bd8600c249ca735e (patch)
tree713527ef385b9d968c64ac0e90a9c14e323bfdf1 /usr.bin/tmux/cmd-switch-client.c
parentdf7c3d11b4f76b2df4cb36445cc1109db51ff25d (diff)
Make session_update_activity more useful and use it in more places.
Diffstat (limited to 'usr.bin/tmux/cmd-switch-client.c')
-rw-r--r--usr.bin/tmux/cmd-switch-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-switch-client.c b/usr.bin/tmux/cmd-switch-client.c
index b3e1767cd41..d52655867be 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.28 2015/08/28 12:16:28 nicm Exp $ */
+/* $OpenBSD: cmd-switch-client.c,v 1.29 2015/08/28 13:01:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -128,7 +128,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
c->last_session = c->session;
c->session = s;
status_timer_start(c);
- session_update_activity(s);
+ session_update_activity(s, NULL);
recalculate_sizes();
server_check_unattached();