Some new notifications, mainly for active pane and current window and

session:

    pane-mode-changed
    window-pane-changed
    client-session-changed
    session-window-changed

From Joshua Brot.
This commit is contained in:
nicm
2017-05-04 07:16:43 +00:00
parent ca6a121e63
commit d98d316903
7 changed files with 103 additions and 11 deletions

View File

@ -129,6 +129,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item)
if (~item->shared->flags & CMDQ_SHARED_REPEAT)
server_client_set_key_table(c, NULL);
status_timer_start(c);
notify_client("client-session-changed", c);
session_update_activity(s, NULL);
gettimeofday(&s->last_attached_time, NULL);