aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-11-15 19:59:27 +0000
committernicm <nicm>2017-11-15 19:59:27 +0000
commit3b649d2fcdc8a15c69efbce69ae9e559481d36cb (patch)
treeb8b2e0d03ace30d066b836c53f37aa9eef02a9b5 /tmux.h
parent533a5719c5edf53f0d7021d4340af230cc43ac8a (diff)
downloadrtmux-3b649d2fcdc8a15c69efbce69ae9e559481d36cb.tar.gz
rtmux-3b649d2fcdc8a15c69efbce69ae9e559481d36cb.tar.bz2
rtmux-3b649d2fcdc8a15c69efbce69ae9e559481d36cb.zip
Add a common function for spreading out cells and use it for the two
even layouts and to add a -E flag to select-layout to spread out cells evenly without changing parent cells.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 6381ff00..43d9d846 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2213,6 +2213,8 @@ void layout_assign_pane(struct layout_cell *, struct window_pane *);
struct layout_cell *layout_split_pane(struct window_pane *, enum layout_type,
int, int, int);
void layout_close_pane(struct window_pane *);
+int layout_spread_cell(struct window *, struct layout_cell *);
+void layout_spread_out(struct window_pane *);
/* layout-custom.c */
char *layout_dump(struct layout_cell *);