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:
Björn Linse
2019-08-17 20:52:08 +02:00
parent e2ccf47b5e
commit 3397b8c51a
3 changed files with 19 additions and 18 deletions

View File

@@ -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,