Add notify hooks for various events, the functions are currently empty

stubs but will be filled in for control mode later. From George Nachman.
This commit is contained in:
Nicholas Marriott
2012-03-17 22:35:09 +00:00
parent 4f480c901d
commit 46210344a6
15 changed files with 102 additions and 3 deletions

View File

@@ -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);