aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-07-08 19:50:43 +0200
committerGitHub <noreply@github.com>2019-07-08 19:50:43 +0200
commit42bdccdf6c36576a080becc8b68993af7c855aa6 (patch)
tree58692f0edf7783911f4e9620cd5065c6cc89abfa /src/nvim/ui.c
parentc07f266c5bc4bf68be8741d90eb2b25901598bbc (diff)
parentd11a146516557fe4298f7af45c789346cc41fbd8 (diff)
downloadrneovim-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.c8
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;