Initial commit.

This commit is contained in:
Dane Jensen
2026-06-08 17:18:11 -07:00
parent 2955c1fdc7
commit 6766c8ec1d
2 changed files with 4 additions and 3 deletions

View File

@@ -1328,7 +1328,8 @@ layout_split_pane(struct window_pane *wp, enum layout_type type, int size,
* layout_assign_pane before much else happens!
*/
struct layout_cell *
layout_floating_pane(struct window *w, u_int sx, u_int sy, int ox, int oy)
layout_floating_pane(struct window *w, struct layout_cell *lc, u_int sx,
u_int sy, int ox, int oy)
{
struct layout_cell *lc = w->layout_root, *lcnew, *lcparent;

4
tmux.h
View File

@@ -3552,8 +3552,8 @@ void layout_assign_pane(struct layout_cell *, struct window_pane *,
int);
struct layout_cell *layout_split_pane(struct window_pane *, enum layout_type,
int, int);
struct layout_cell *layout_floating_pane(struct window *, u_int, u_int, int,
int);
struct layout_cell *layout_floating_pane(struct window *, struct layout_cell *,
u_int, u_int, int, int);
void layout_close_pane(struct window_pane *);
int layout_spread_cell(struct window *, struct layout_cell *);
void layout_spread_out(struct window_pane *);