=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-new-window.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- src/usr.bin/tmux/cmd-new-window.c 2016/10/16 19:04:05 1.64 +++ src/usr.bin/tmux/cmd-new-window.c 2016/10/16 22:06:40 1.65 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-new-window.c,v 1.64 2016/10/16 19:04:05 nicm Exp $ */ +/* $OpenBSD: cmd-new-window.c,v 1.65 2016/10/16 22:06:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -112,7 +112,7 @@ * 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);