diff options
author | 2019-04-18 10:11:52 +0000 | |
---|---|---|
committer | 2019-04-18 10:11:52 +0000 | |
commit | 00ee871117e58e26fb4d323aec5141880b657c54 (patch) | |
tree | da287997be9970f5aa6e2580b71d21369cc95181 /usr.bin/tmux/server-client.c | |
parent | Remove crc32.{c,h} which were only used by the now-gone SSH1 protocol. (diff) | |
download | wireguard-openbsd-00ee871117e58e26fb4d323aec5141880b657c54.tar.xz wireguard-openbsd-00ee871117e58e26fb4d323aec5141880b657c54.zip |
Update session activity on focus event, from tafryn at gmail dot com.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index a043d7788d7..1d4c9060056 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.274 2019/03/25 18:59:55 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.275 2019/04/18 10:11:52 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1369,6 +1369,7 @@ focused: if (wp->base.mode & MODE_FOCUSON) bufferevent_write(wp->event, "\033[I", 3); notify_pane("pane-focus-in", wp); + session_update_activity(c->session, NULL); } wp->flags |= PANE_FOCUSED; } |