mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Remove some stray code from an old floating panes implementation, from
Dane Jensen.
This commit is contained in:
@@ -114,10 +114,6 @@ cmd_swap_pane_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
dst_wp->layout_cell = src_lc;
|
dst_wp->layout_cell = src_lc;
|
||||||
dst_lc->wp = src_wp;
|
dst_lc->wp = src_wp;
|
||||||
src_wp->layout_cell = dst_lc;
|
src_wp->layout_cell = dst_lc;
|
||||||
if (window_pane_is_floating(src_wp) != window_pane_is_floating(dst_wp)) {
|
|
||||||
src_wp->layout_cell->flags ^= LAYOUT_CELL_FLOATING;
|
|
||||||
dst_wp->layout_cell->flags ^= LAYOUT_CELL_FLOATING;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_wp->window = dst_w;
|
src_wp->window = dst_w;
|
||||||
options_set_parent(src_wp->options, dst_w->options);
|
options_set_parent(src_wp->options, dst_w->options);
|
||||||
|
|||||||
Reference in New Issue
Block a user