diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-18 21:06:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-18 21:06:16 +0000 |
commit | 5518b6138dce28bd28f679f3e63d73f0b343b879 (patch) | |
tree | 3931c7cb0503e1775387791d09baf7f323c0b646 | |
parent | ab4e5e8574c3ccffeed275eeebc4845e3f33acab (diff) |
manual -> manual-vertical.
-rw-r--r-- | layout-manual.c | 14 | ||||
-rw-r--r-- | layout.c | 5 | ||||
-rw-r--r-- | tmux.h | 6 |
3 files changed, 13 insertions, 12 deletions
diff --git a/layout-manual.c b/layout-manual.c index 46a49320..d0815cae 100644 --- a/layout-manual.c +++ b/layout-manual.c @@ -1,4 +1,4 @@ -/* $Id: layout-manual.c,v 1.1 2009-05-18 21:01:38 nicm Exp $ */ +/* $Id: layout-manual.c,v 1.2 2009-05-18 21:06:16 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -20,10 +20,10 @@ #include "tmux.h" -void layout_manual_update_offsets(struct window *); +void layout_manual_vertical_update_offsets(struct window *); void -layout_manual_refresh(struct window *w, unused int active_only) +layout_manual_vertical_refresh(struct window *w, unused int active_only) { struct window_pane *wp; u_int npanes, canfit, total; @@ -102,14 +102,14 @@ layout_manual_refresh(struct window *w, unused int active_only) } /* Fill in the offsets. */ - layout_manual_update_offsets(w); + layout_manual_vertical_update_offsets(w); /* Switch the active window if necessary. */ window_set_active_pane(w, w->active); } void -layout_manual_resize(struct window_pane *wp, int adjust) +layout_manual_vertical_resize(struct window_pane *wp, int adjust) { struct window *w = wp->window; struct window_pane *wq; @@ -163,11 +163,11 @@ layout_manual_resize(struct window_pane *wp, int adjust) } } - layout_manual_update_offsets(w); + layout_manual_vertical_update_offsets(w); } void -layout_manual_update_offsets(struct window *w) +layout_manual_vertical_update_offsets(struct window *w) { struct window_pane *wp; u_int yoff; @@ -1,4 +1,4 @@ -/* $Id: layout.c,v 1.8 2009-05-18 21:01:38 nicm Exp $ */ +/* $Id: layout.c,v 1.9 2009-05-18 21:06:16 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -41,7 +41,8 @@ const struct { void (*refresh)(struct window *, int); void (*resize)(struct window_pane *, int); } layouts[] = { - { "manual", layout_manual_refresh, layout_manual_resize }, + { "manual-vertical", + layout_manual_vertical_refresh, layout_manual_vertical_resize }, { "active-only", layout_active_only_refresh, NULL }, { "even-horizontal", layout_even_horizontal_refresh, NULL }, { "even-vertical", layout_even_vertical_refresh, NULL }, @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.319 2009-05-18 21:01:38 nicm Exp $ */ +/* $Id: tmux.h,v 1.320 2009-05-18 21:06:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1575,8 +1575,8 @@ void layout_next(struct window *); void layout_previous(struct window *); /* layout-manual.c */ -void layout_manual_refresh(struct window *, int); -void layout_manual_resize(struct window_pane *, int); +void layout_manual_vertical_refresh(struct window *, int); +void layout_manual_vertical_resize(struct window_pane *, int); /* window-clock.c */ extern const struct window_mode window_clock_mode; |