aboutsummaryrefslogtreecommitdiff
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-17 00:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-17 00:01:11 +0100
commitd54e990c4ffb576aa3d82306b970dc64bdd4cda6 (patch)
tree14657ab6804e8dcb4ee696afd823e19e46e0631f /cmd-new-window.c
parent1a6e696b08113ca17ee8e881844167cf94276846 (diff)
parentfe106842c879c8f2d0419afba4f90ce0c62c5e80 (diff)
downloadrtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.tar.gz
rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.tar.bz2
rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c2
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);