Do not allow the opposite pane to resize when dragging with the mouse

because it is not possible to keep the mouse on the border when the
minimum size is reached.
This commit is contained in:
nicm
2016-10-10 17:28:30 +00:00
parent 7d4b416fe6
commit 66b5477cc1
3 changed files with 18 additions and 16 deletions

2
tmux.h
View File

@ -2217,7 +2217,7 @@ void layout_init(struct window *, struct window_pane *);
void layout_free(struct window *);
void layout_resize(struct window *, u_int, u_int);
void layout_resize_pane(struct window_pane *, enum layout_type,
int);
int, int);
void layout_resize_pane_to(struct window_pane *, enum layout_type,
u_int);
void layout_assign_pane(struct layout_cell *, struct window_pane *);