diff options
author | nicm <nicm> | 2016-10-16 22:06:40 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-16 22:06:40 +0000 |
commit | 41e633acf5d08cbd8976771bd2b74f14abda3969 (patch) | |
tree | 70b43438375ebfaf1cddab734b1913658ade661b /cmd-new-window.c | |
parent | d15d54c2c8e6b95695169442eb2a27d814efc078 (diff) | |
download | rtmux-41e633acf5d08cbd8976771bd2b74f14abda3969.tar.gz rtmux-41e633acf5d08cbd8976771bd2b74f14abda3969.tar.bz2 rtmux-41e633acf5d08cbd8976771bd2b74f14abda3969.zip |
Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r-- | cmd-new-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c index 3e7f82d5..2e032c40 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -112,7 +112,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item) * Can't use session_detach as it will destroy session if this * makes it empty. */ - notify_window_unlinked(s, wl->window); + notify_session_window("window-unlinked", s, wl->window); wl->flags &= ~WINLINK_ALERTFLAGS; winlink_stack_remove(&s->lastw, wl); winlink_remove(&s->windows, wl); |