mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-10 14:17:47 +02:00
Sync OpenBSD patchset 1069:
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:
@ -147,6 +147,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);
|
||||
@ -164,5 +166,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user