Mercurial > vim
diff src/globals.h @ 16778:eda4d65f232c v8.1.1391
patch 8.1.1391: no popup window support
commit https://github.com/vim/vim/commit/4d784b21d14fc66e98a2b07f70343cdd4acd62aa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 25 19:51:39 2019 +0200
patch 8.1.1391: no popup window support
Problem: No popup window support.
Solution: Add initial code for popup windows. Add the 'wincolor' option.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 25 May 2019 20:00:08 +0200 |
parents | 0422b14bce58 |
children | 5f98d80d116a |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -550,9 +550,10 @@ EXTERN int clip_unnamed_saved INIT(= 0); #endif /* - * All windows are linked in a list. firstwin points to the first entry, - * lastwin to the last entry (can be the same as firstwin) and curwin to the - * currently active window. + * All regular windows are linked in a list. "firstwin" points to the first + * entry, "lastwin" to the last entry (can be the same as firstwin) and + * "curwin" to the currently active window. + * When switching tabs these swapped with the pointers in "tabpage_T". */ EXTERN win_T *firstwin; /* first window */ EXTERN win_T *lastwin; /* last window */ @@ -580,6 +581,11 @@ EXTERN win_T *curwin; /* currently activ EXTERN win_T *aucmd_win; /* window used in aucmd_prepbuf() */ EXTERN int aucmd_win_used INIT(= FALSE); /* aucmd_win is being used */ +#ifdef FEAT_TEXT_PROP +EXTERN win_T *first_tab_popupwin; // first popup window local to tab page +EXTERN win_T *first_popupwin; // first global popup window +#endif + /* * The window layout is kept in a tree of frames. topframe points to the top * of the tree.