diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-03-16 09:14:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-03-16 09:14:59 +0000 |
commit | 3869e66cf780741505223f01e1e5d86ed53252a1 (patch) | |
tree | 569eda6e8a360fcacd130004c5c408e2bde6dab5 /usr.bin/tmux/notify.c | |
parent | dd1675f5a0cf1e325de9ad02c9f71c6e5369fc93 (diff) |
Add client-detached notification in control mode, from Mohsin Kaleem.
Diffstat (limited to 'usr.bin/tmux/notify.c')
-rw-r--r-- | usr.bin/tmux/notify.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/notify.c b/usr.bin/tmux/notify.c index 13b2ad38667..9bb6e4e8b82 100644 --- a/usr.bin/tmux/notify.c +++ b/usr.bin/tmux/notify.c @@ -1,4 +1,4 @@ -/* $OpenBSD: notify.c,v 1.36 2020/05/21 07:24:13 nicm Exp $ */ +/* $OpenBSD: notify.c,v 1.37 2021/03/16 09:14:58 nicm Exp $ */ /* * Copyright (c) 2012 George Nachman <tmux@georgester.com> @@ -126,6 +126,8 @@ notify_callback(struct cmdq_item *item, void *data) control_notify_window_renamed(ne->window); if (strcmp(ne->name, "client-session-changed") == 0) control_notify_client_session_changed(ne->client); + if (strcmp(ne->name, "client-detached") == 0) + control_notify_client_detached(ne->client); if (strcmp(ne->name, "session-renamed") == 0) control_notify_session_renamed(ne->session); if (strcmp(ne->name, "session-created") == 0) |