aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui_events.in.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-08-17 20:52:08 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-08-17 20:52:08 +0200
commit3397b8c51a6d65a24bb2d9860e27fb3d8770dba6 (patch)
treec96596eabfbec82ae02be4531b841837174ceda9 /src/nvim/api/ui_events.in.h
parente2ccf47b5e5e5acf19a74d928e367c7726d29ad3 (diff)
downloadrneovim-3397b8c51a6d65a24bb2d9860e27fb3d8770dba6.tar.gz
rneovim-3397b8c51a6d65a24bb2d9860e27fb3d8770dba6.tar.bz2
rneovim-3397b8c51a6d65a24bb2d9860e27fb3d8770dba6.zip
ui: use Window type in win_pos consistently with win_float_pos
Also check invalid positional arguments to screen:expect()
Diffstat (limited to 'src/nvim/api/ui_events.in.h')
-rw-r--r--src/nvim/api/ui_events.in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/ui_events.in.h b/src/nvim/api/ui_events.in.h
index 41bf0af65b..9f58257e53 100644
--- a/src/nvim/api/ui_events.in.h
+++ b/src/nvim/api/ui_events.in.h
@@ -100,7 +100,7 @@ void raw_line(Integer grid, Integer row, Integer startcol,
void event(char *name, Array args, bool *args_consumed)
FUNC_API_NOEXPORT;
-void win_pos(Integer grid, Integer win, Integer startrow,
+void win_pos(Integer grid, Window win, Integer startrow,
Integer startcol, Integer width, Integer height)
FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
void win_float_pos(Integer grid, Window win, String anchor, Integer anchor_grid,