diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-07-08 19:50:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 19:50:43 +0200 |
commit | 42bdccdf6c36576a080becc8b68993af7c855aa6 (patch) | |
tree | 58692f0edf7783911f4e9620cd5065c6cc89abfa /src/nvim/ui.c | |
parent | c07f266c5bc4bf68be8741d90eb2b25901598bbc (diff) | |
parent | d11a146516557fe4298f7af45c789346cc41fbd8 (diff) | |
download | rneovim-42bdccdf6c36576a080becc8b68993af7c855aa6.tar.gz rneovim-42bdccdf6c36576a080becc8b68993af7c855aa6.tar.bz2 rneovim-42bdccdf6c36576a080becc8b68993af7c855aa6.zip |
Merge pull request #10234 from bfredl/resizefloat
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; |