summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 10:37:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 10:37:40 +0000
commit8559a1c628d07d8974e3055572f5d36917c12275 (patch)
treef4c3d8a1a419a6dd1d35b4a48ef36f6b6d53b2f5 /usr.bin/tmux/tmux.h
parent137a4bbc41fe6e0976510998536f8a256c2db738 (diff)
Add resize-pane -x and -y for absolute pane size (much requested).
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index a4f022ec2e9..8c4cb5299d7 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.384 2013/03/22 10:33:50 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.385 2013/03/22 10:37:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);