Update session activity on focus event, from tafryn at gmail dot com.

This commit is contained in:
nicm 2019-04-18 10:11:52 +00:00
parent 2219f7cc73
commit f3ab05e7cd

View File

@ -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;
}