mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Update session activity on focus event, from tafryn at gmail dot com.
This commit is contained in:
parent
2219f7cc73
commit
f3ab05e7cd
@ -1369,6 +1369,7 @@ focused:
|
|||||||
if (wp->base.mode & MODE_FOCUSON)
|
if (wp->base.mode & MODE_FOCUSON)
|
||||||
bufferevent_write(wp->event, "\033[I", 3);
|
bufferevent_write(wp->event, "\033[I", 3);
|
||||||
notify_pane("pane-focus-in", wp);
|
notify_pane("pane-focus-in", wp);
|
||||||
|
session_update_activity(c->session, NULL);
|
||||||
}
|
}
|
||||||
wp->flags |= PANE_FOCUSED;
|
wp->flags |= PANE_FOCUSED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user