diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-06-26 21:02:26 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-06-26 21:02:26 +0100 |
commit | c4a92999563e20617f949ac781f1465843fb088c (patch) | |
tree | 7ba618100c5c7611c67192c20718786ada482ef2 /layout.c | |
parent | f797ac9ff6cd18b9f5737bea80fbf58dc5b5729b (diff) | |
parent | 3a6d90adadfcd4aa6b513df7f8ae5c4dcc05a6dc (diff) | |
download | rtmux-c4a92999563e20617f949ac781f1465843fb088c.tar.gz rtmux-c4a92999563e20617f949ac781f1465843fb088c.tar.bz2 rtmux-c4a92999563e20617f949ac781f1465843fb088c.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -272,7 +272,7 @@ layout_fix_panes(struct window *w) wp->xoff = lc->xoff; wp->yoff = lc->yoff; - if (shift && status == 1) + if (shift && status == PANE_STATUS_TOP) wp->yoff += 1; window_pane_resize(wp, lc->sx, lc->sy - shift); @@ -1021,7 +1021,7 @@ layout_spread_cell(struct window *w, struct layout_cell *parent) number = 0; TAILQ_FOREACH (lc, &parent->cells, entry) - number++; + number++; if (number <= 1) return (0); status = options_get_number(w->options, "pane-border-status"); |