Mercurial > vim
comparison src/globals.h @ 16796:5f98d80d116a v8.1.1400
patch 8.1.1400: using global pointer for tab-local popups is clumsy
commit https://github.com/vim/vim/commit/9c27b1c6d140ca824a78654c1cb70a43a69b4ec6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 26 18:48:13 2019 +0200
patch 8.1.1400: using global pointer for tab-local popups is clumsy
Problem: Using global pointer for tab-local popups is clumsy.
Solution: Use the pointer in tabpage_T.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 May 2019 19:00:04 +0200 |
parents | eda4d65f232c |
children | 9138e2c60bf1 |
comparison
equal
deleted
inserted
replaced
16795:39a8595200a6 | 16796:5f98d80d116a |
---|---|
580 | 580 |
581 EXTERN win_T *aucmd_win; /* window used in aucmd_prepbuf() */ | 581 EXTERN win_T *aucmd_win; /* window used in aucmd_prepbuf() */ |
582 EXTERN int aucmd_win_used INIT(= FALSE); /* aucmd_win is being used */ | 582 EXTERN int aucmd_win_used INIT(= FALSE); /* aucmd_win is being used */ |
583 | 583 |
584 #ifdef FEAT_TEXT_PROP | 584 #ifdef FEAT_TEXT_PROP |
585 EXTERN win_T *first_tab_popupwin; // first popup window local to tab page | |
586 EXTERN win_T *first_popupwin; // first global popup window | 585 EXTERN win_T *first_popupwin; // first global popup window |
587 #endif | 586 #endif |
588 | 587 |
589 /* | 588 /* |
590 * The window layout is kept in a tree of frames. topframe points to the top | 589 * The window layout is kept in a tree of frames. topframe points to the top |