mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
7a02910feb
@ -1098,12 +1098,13 @@ server_client_dispatch(struct imsg *imsg, void *arg)
|
||||
|
||||
if (gettimeofday(&c->activity_time, NULL) != 0)
|
||||
fatal("gettimeofday failed");
|
||||
if (s != NULL)
|
||||
session_update_activity(s, &c->activity_time);
|
||||
|
||||
tty_start_tty(&c->tty);
|
||||
server_redraw_client(c);
|
||||
recalculate_sizes();
|
||||
|
||||
if (s != NULL)
|
||||
session_update_activity(s, &c->activity_time);
|
||||
break;
|
||||
case MSG_SHELL:
|
||||
if (datalen != 0)
|
||||
|
@ -497,7 +497,7 @@ window_choose_expand(struct window_pane *wp, struct session *s, u_int pos)
|
||||
sizeof *data->list);
|
||||
memmove(&data->list[pos + 2],
|
||||
&data->list[pos + 1],
|
||||
(data->list_size - pos) *
|
||||
(data->list_size - (pos + 1)) *
|
||||
sizeof *data->list);
|
||||
memcpy(&data->list[pos + 1],
|
||||
&data->old_list[i],
|
||||
|
Loading…
Reference in New Issue
Block a user