diff options
author | 2017-05-04 07:16:43 +0000 | |
---|---|---|
committer | 2017-05-04 07:16:43 +0000 | |
commit | 3c14ce2038ea3c7f19ff48bbec684c0dcfa9b272 (patch) | |
tree | aeb8dbc0605728ebf7b56034ff7ba0598c35a1e9 /usr.bin/tmux/session.c | |
parent | since a couple of people have asked, leave a comment explaining why we (diff) | |
download | wireguard-openbsd-3c14ce2038ea3c7f19ff48bbec684c0dcfa9b272.tar.xz wireguard-openbsd-3c14ce2038ea3c7f19ff48bbec684c0dcfa9b272.zip |
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.
Diffstat (limited to 'usr.bin/tmux/session.c')
-rw-r--r-- | usr.bin/tmux/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/session.c b/usr.bin/tmux/session.c index 456f13a2364..eb0aae4a6df 100644 --- a/usr.bin/tmux/session.c +++ b/usr.bin/tmux/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.75 2017/04/28 19:13:55 nicm Exp $ */ +/* $OpenBSD: session.c,v 1.76 2017/05/04 07:16:43 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -553,6 +553,7 @@ session_set_current(struct session *s, struct winlink *wl) s->curw = wl; winlink_clear_flags(wl); window_update_activity(wl->window); + notify_session("session-window-changed", s); return (0); } |