mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 20:48:32 +00:00
vim-patch:8.1.1088: height of quickfix window not retained with vertical split (#9818)
Problem: Height of quickfix window not retained with vertical split.
Solution: Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu,
closes vim/vim#4013, closes vim/vim#2998)
9e1e358d37
closes #3608
This commit is contained in:
@@ -2679,9 +2679,9 @@ winframe_remove (
|
||||
frp3 = frp_close->fr_next;
|
||||
while (frp != NULL || frp3 != NULL) {
|
||||
if (frp != NULL) {
|
||||
if (frp->fr_win != NULL && !frp->fr_win->w_p_wfh) {
|
||||
if (!frame_fixed_height(frp)) {
|
||||
frp2 = frp;
|
||||
wp = frp->fr_win;
|
||||
wp = frame2win(frp2);
|
||||
break;
|
||||
}
|
||||
frp = frp->fr_prev;
|
||||
@@ -2708,9 +2708,9 @@ winframe_remove (
|
||||
frp3 = frp_close->fr_next;
|
||||
while (frp != NULL || frp3 != NULL) {
|
||||
if (frp != NULL) {
|
||||
if (frp->fr_win != NULL && !frp->fr_win->w_p_wfw) {
|
||||
if (!frame_fixed_width(frp)) {
|
||||
frp2 = frp;
|
||||
wp = frp->fr_win;
|
||||
wp = frame2win(frp2);
|
||||
break;
|
||||
}
|
||||
frp = frp->fr_prev;
|
||||
|
Reference in New Issue
Block a user