More (currently disabled) bits for creating floating panes, from Michael

Grant and Dane Jensen.
This commit is contained in:
nicm
2026-05-19 10:26:03 +00:00
parent 34e2035bad
commit a46cdb8bbc
4 changed files with 145 additions and 24 deletions

8
tmux.h
View File

@@ -1346,6 +1346,9 @@ struct window {
u_int new_xpixel;
u_int new_ypixel;
u_int last_new_pane_x;
u_int last_new_pane_y;
struct utf8_data *fill_character;
int flags;
#define WINDOW_BELL 0x1
@@ -3421,9 +3424,12 @@ enum client_theme window_pane_get_theme(struct window_pane *);
void window_pane_send_theme_update(struct window_pane *);
struct style_range *window_pane_border_status_get_range(struct window_pane *,
u_int, u_int);
int window_pane_tile_geometry(struct window *,
int window_pane_tiled_geometry(struct window *,
struct window_pane *, int *, int *, enum layout_type *,
struct cmdq_item *, struct args *, char **);
int window_pane_floating_geometry(struct window *,
struct window_pane *, u_int *, u_int *, u_int *, u_int *,
struct cmdq_item *, struct args *, char **);
/* layout.c */
u_int layout_count_cells(struct layout_cell *);