aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-09-01 20:25:36 +0200
committerGitHub <noreply@github.com>2019-09-01 20:25:36 +0200
commit9df3a676e7f2302929061a6c0edf42e5fb3f3873 (patch)
tree75b58a88ca69022a6e893e337c39e283d5577452 /src/nvim/window.c
parent2f37c243482eec20fe52f298368c02eca21c758f (diff)
parent14615f7f67664cd63410999c2cd13ee50ed14571 (diff)
downloadrneovim-9df3a676e7f2302929061a6c0edf42e5fb3f3873.tar.gz
rneovim-9df3a676e7f2302929061a6c0edf42e5fb3f3873.tar.bz2
rneovim-9df3a676e7f2302929061a6c0edf42e5fb3f3873.zip
Merge pull request #10400 from bfredl/msg_grid
Dedicated message grid.
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index b5d34bbbdb..0e8cfcedf5 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -697,6 +697,7 @@ static void ui_ext_win_position(win_T *wp)
ui_comp_put_grid(&wp->w_grid, comp_row, comp_col, wp->w_height,
wp->w_width, valid, on_top);
ui_check_cursor_grid(wp->w_grid.handle);
+ wp->w_grid.focusable = wp->w_float_config.focusable;
if (!valid) {
wp->w_grid.valid = false;
redraw_win_later(wp, NOT_VALID);
@@ -5359,6 +5360,9 @@ void win_drag_status_line(win_T *dragwin, int offset)
}
row = win_comp_pos();
grid_fill(&default_grid, row, cmdline_row, 0, Columns, ' ', ' ', 0);
+ if (msg_grid.chars) {
+ clear_cmdline = true;
+ }
cmdline_row = row;
p_ch = Rows - cmdline_row;
if (p_ch < 1)