mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
feat(api): add nvim_tabpage_set_win (#27222)
Allows setting the current window of a non-current tabpage without switching tabpages.
This commit is contained in:
@@ -1557,7 +1557,7 @@ bool win_valid(const win_T *win) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
/// Check if "win" is a pointer to an existing window in tabpage "tp".
|
||||
///
|
||||
/// @param win window to check
|
||||
static bool tabpage_win_valid(const tabpage_T *tp, const win_T *win)
|
||||
bool tabpage_win_valid(const tabpage_T *tp, const win_T *win)
|
||||
FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
if (win == NULL) {
|
||||
|
Reference in New Issue
Block a user