mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
ui: use Window type in win_pos consistently with win_float_pos
Also check invalid positional arguments to screen:expect()
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user