mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Merge branch 'obsd-master'
This commit is contained in:
2
layout.c
2
layout.c
@@ -698,6 +698,8 @@ layout_resize_floating_pane_to(struct window_pane *wp, enum layout_type type,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (size >= PANE_MINIMUM + 2)
|
||||||
|
size -= 2;
|
||||||
if (size < PANE_MINIMUM || size > PANE_MAXIMUM) {
|
if (size < PANE_MINIMUM || size > PANE_MAXIMUM) {
|
||||||
*cause = xstrdup("size is too big or too small");
|
*cause = xstrdup("size is too big or too small");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user