mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
Emit window-layout-changed on swap-pane, from George Nachman.
This commit is contained in:
parent
4ae2c64657
commit
af611815ea
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user