diff options
author | nicm <nicm> | 2016-08-03 09:07:02 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-08-03 09:07:02 +0000 |
commit | f8cc48a43f1fd5fe082fde86b429c2cda5bcf1b0 (patch) | |
tree | 01924b8a29b0cf1ca69e6bfea1d85c789841d8db /tmux.h | |
parent | 9436a316038d1d1c9bc161d282564ed67e2f8ce2 (diff) | |
download | rtmux-f8cc48a43f1fd5fe082fde86b429c2cda5bcf1b0.tar.gz rtmux-f8cc48a43f1fd5fe082fde86b429c2cda5bcf1b0.tar.bz2 rtmux-f8cc48a43f1fd5fe082fde86b429c2cda5bcf1b0.zip |
Fix minimum size when pane status line is enabled, reported by Y Petremann.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2185,7 +2185,7 @@ u_int layout_count_cells(struct layout_cell *); struct layout_cell *layout_create_cell(struct layout_cell *); void layout_free_cell(struct layout_cell *); void layout_print_cell(struct layout_cell *, const char *, u_int); -void layout_destroy_cell(struct layout_cell *, +void layout_destroy_cell(struct window *, struct layout_cell *, struct layout_cell **); void layout_set_size(struct layout_cell *, u_int, u_int, u_int, u_int); @@ -2193,9 +2193,8 @@ void layout_make_leaf(struct layout_cell *, struct window_pane *); void layout_make_node(struct layout_cell *, enum layout_type); void layout_fix_offsets(struct layout_cell *); void layout_fix_panes(struct window *, u_int, u_int); -u_int layout_resize_check(struct layout_cell *, enum layout_type); -void layout_resize_adjust(struct layout_cell *, enum layout_type, - int); +void layout_resize_adjust(struct window *, struct layout_cell *, + enum layout_type, int); void layout_init(struct window *, struct window_pane *); void layout_free(struct window *); void layout_resize(struct window *, u_int, u_int); |