summaryrefslogtreecommitdiffstats
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-17 22:35:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-17 22:35:09 +0000
commit46210344a62b079ff61435b978da41a0f92caf3a (patch)
treedb1d29f00e52472ad2e2d200cc583845ad8a5e12 /cmd-new-window.c
parent4f480c901de715a2fa0ec450c57d4881d662413f (diff)
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index c906d4d2..5051ab1a 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -89,6 +89,7 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx)
* Can't use session_detach as it will destroy session if this
* makes it empty.
*/
+ notify_window_unlinked(s, wl->window);
wl->flags &= ~WINLINK_ALERTFLAGS;
winlink_stack_remove(&s->lastw, wl);
winlink_remove(&s->windows, wl);