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

@ -148,6 +148,8 @@ join_pane(struct cmd *self, struct cmd_ctx *ctx, int not_same_window)
if (window_count_panes(src_w) == 0)
server_kill_window(src_w);
else
notify_window_layout_changed(src_w);
src_wp->window = dst_w;
TAILQ_INSERT_AFTER(&dst_w->panes, dst_wp, src_wp, entry);
@ -165,5 +167,6 @@ join_pane(struct cmd *self, struct cmd_ctx *ctx, int not_same_window)
} else
server_status_session(dst_s);
notify_window_layout_changed(dst_w);
return (0);
}