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

This commit is contained in:
nicm 2022-05-30 12:54:09 +00:00
parent 4ae2c64657
commit af611815ea

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(src_w);
server_redraw_window(dst_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: out:
if (window_pop_zoom(src_w)) if (window_pop_zoom(src_w))