mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
API: Refactor: Register/unregister created/destroyed windows
- Add the 'handle' field to `win_T` - Add declare/implement functions for registering/unregistering/retrieving windows - Register/unregister windows when they are created/destroyed.
This commit is contained in:
@@ -840,6 +840,7 @@ struct matchitem {
|
||||
* All row numbers are relative to the start of the window, except w_winrow.
|
||||
*/
|
||||
struct window_S {
|
||||
uint64_t handle;
|
||||
buf_T *w_buffer; /* buffer we are a window into (used
|
||||
often, keep it the first item!) */
|
||||
|
||||
|
Reference in New Issue
Block a user