diff options
author | nicm <nicm> | 2018-06-08 20:54:22 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-06-08 20:54:22 +0000 |
commit | f6bad7efd76109de122bb3b670d0e18f86ec38bb (patch) | |
tree | 94e176701edc28c07975a8cfbe22b2221867ac66 /tmux.h | |
parent | ff45b2d343fea6b0c477ed2cb5bbe2d30922ea3e (diff) | |
download | rtmux-f6bad7efd76109de122bb3b670d0e18f86ec38bb.tar.gz rtmux-f6bad7efd76109de122bb3b670d0e18f86ec38bb.tar.bz2 rtmux-f6bad7efd76109de122bb3b670d0e18f86ec38bb.zip |
Instead of working out which pane to resize with the mouse by walking
the panes list, look through the layout cells for the nearest border and
resize that cell. From Dan Aloni in GitHub issue 1374.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2203,6 +2203,9 @@ void layout_free_cell(struct layout_cell *); void layout_print_cell(struct layout_cell *, const char *, u_int); void layout_destroy_cell(struct window *, struct layout_cell *, struct layout_cell **); +void layout_resize_layout(struct window *, struct layout_cell *, + enum layout_type, int, int); +struct layout_cell *layout_search_by_border(struct layout_cell *, u_int, u_int); void layout_set_size(struct layout_cell *, u_int, u_int, u_int, u_int); void layout_make_leaf(struct layout_cell *, struct window_pane *); |