diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-06-10 15:42:09 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-07-08 19:45:57 +0200 |
commit | d11a146516557fe4298f7af45c789346cc41fbd8 (patch) | |
tree | 7f0403612288abcf1160fe5edcfda8461ca41ae6 /src/nvim/ui.c | |
parent | 44e150bd460a52e31f9714644f7664d1bc61405b (diff) | |
download | rneovim-d11a146516557fe4298f7af45c789346cc41fbd8.tar.gz rneovim-d11a146516557fe4298f7af45c789346cc41fbd8.tar.bz2 rneovim-d11a146516557fe4298f7af45c789346cc41fbd8.zip |
window: allow resize wincmds for floats
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 7dbb8ec790..7bd45507a6 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -372,6 +372,14 @@ void ui_grid_cursor_goto(handle_T grid_handle, int new_row, int new_col) pending_cursor_update = true; } +/// moving the cursor grid will implicitly move the cursor +void ui_check_cursor_grid(handle_T grid_handle) +{ + if (cursor_grid_handle == grid_handle) { + pending_cursor_update = true; + } +} + void ui_mode_info_set(void) { pending_mode_info_update = true; |