mirror of
https://github.com/openbsd/src.git
synced 2026-06-18 07:13:36 +02:00
Remove some stray code from an old floating panes implementation, from
Dane Jensen.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: cmd-swap-pane.c,v 1.49 2026/06/07 08:22:58 nicm Exp $ */
|
||||
/* $OpenBSD: cmd-swap-pane.c,v 1.50 2026/06/13 11:37:46 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -114,10 +114,6 @@ cmd_swap_pane_exec(struct cmd *self, struct cmdq_item *item)
|
||||
dst_wp->layout_cell = src_lc;
|
||||
dst_lc->wp = src_wp;
|
||||
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;
|
||||
options_set_parent(src_wp->options, dst_w->options);
|
||||
|
||||
Reference in New Issue
Block a user