diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-03-06 18:01:26 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-03-06 18:01:26 +0000 |
commit | 9e4d0b2b6d9230fea15d509a33ef890c366278ce (patch) | |
tree | df702a9b8bd9fdefe1f96f415cc3eee30d0249d6 | |
parent | ccd24c9cb242b736aa4431ed002ccdc491c49b92 (diff) | |
parent | add75a06cd9dfa7c01608e81ab418b37ec17533c (diff) | |
download | rtmux-9e4d0b2b6d9230fea15d509a33ef890c366278ce.tar.gz rtmux-9e4d0b2b6d9230fea15d509a33ef890c366278ce.tar.bz2 rtmux-9e4d0b2b6d9230fea15d509a33ef890c366278ce.zip |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-switch-client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 309a7e7c..61677761 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -142,10 +142,11 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) session_update_activity(s, NULL); gettimeofday(&s->last_attached_time, NULL); - recalculate_sizes(); server_check_unattached(); server_redraw_client(c); s->curw->flags &= ~WINLINK_ALERTFLAGS; + s->curw->window->latest = c; + recalculate_sizes(); alerts_check_session(s); return (CMD_RETURN_NORMAL); |