Emit window-layout-changed on swap-pane, from George Nachman.

pull/3160/head
Nicholas Marriott 2022-04-06 14:43:12 +01:00
parent 996e54763c
commit 0c84a20d2f
1 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,9 @@ cmd_swap_pane_exec(struct cmd *self, struct cmdq_item *item)
}
server_redraw_window(src_w);
server_redraw_window(dst_w);
notify_window("window-layout-changed", src_w);
if (src_w != dst_w)
notify_window("window-layout-changed", dst_w);
out:
if (window_pop_zoom(src_w))