summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-22 10:37:39 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-22 10:37:39 +0000
commitf0efa576e002e77dc6363e0a5bc41d0c0649c946 (patch)
tree19a401bcc41eb34271b9bdf85f608c4172bf8e20 /tmux.h
parentad5df9bc2f00b3de89e1c2bd6714022cf99aacda (diff)
Add resize-pane -x and -y for absolute pane size (much requested).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 6 insertions, 4 deletions
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);