From f0efa576e002e77dc6363e0a5bc41d0c0649c946 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 22 Mar 2013 10:37:39 +0000 Subject: Add resize-pane -x and -y for absolute pane size (much requested). --- tmux.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 192a386f..c5090c9f 100644 --- a/tmux.h +++ b/tmux.h @@ -1171,7 +1171,7 @@ struct mouse_event { u_int sgr; /* whether the input arrived in SGR format */ u_int sgr_xb; /* only for SGR: the unmangled button */ - u_int sgr_rel; /* only for SGR: whether it is a release event */ + u_int sgr_rel; /* only for SGR: if it is a release event */ u_int button; u_int clicks; @@ -2167,9 +2167,11 @@ void layout_resize_adjust( void layout_init(struct window *); 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); -void layout_resize_pane_mouse(struct client *c); +void layout_resize_pane(struct window_pane *, enum layout_type, + int); +void layout_resize_pane_to(struct window_pane *, enum layout_type, + u_int); +void layout_resize_pane_mouse(struct client *); void layout_assign_pane(struct layout_cell *, struct window_pane *); struct layout_cell *layout_split_pane( struct window_pane *, enum layout_type, int, int); -- cgit v1.2.3