diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-08 21:57:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-08 21:57:30 +0200 |
commit | 49fe95f22517b775506ef34681000d84bb417eb3 (patch) | |
tree | 7ad7c9afcc187735c9b6175bf85ac8efff012a2b /src/globals.h | |
parent | 999224422633935eaa8b804ce3d1c2f9ca195d0a (diff) |
patch 8.1.1652: GUI: popup window doesn't close on mouse movementv8.1.1652
Problem: GUI: popup window doesn't close on mouse movement. (Paul Jolly)
Solution: Generate mouse-move events when a popup window is visible.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/globals.h b/src/globals.h index ddafcc13df..3562b5ee6c 100644 --- a/src/globals.h +++ b/src/globals.h @@ -603,6 +603,11 @@ EXTERN int aucmd_win_used INIT(= FALSE); /* aucmd_win is being used */ #ifdef FEAT_TEXT_PROP EXTERN win_T *first_popupwin; // first global popup window EXTERN win_T *popup_dragwin INIT(= NULL); // popup window being dragged + +// Set to TRUE if there is any visible popup. +EXTERN int popup_visible INIT(= FALSE); + +EXTERN int text_prop_frozen INIT(= 0); #endif /* @@ -1680,10 +1685,3 @@ typedef int HINSTANCE; EXTERN int ctrl_break_was_pressed INIT(= FALSE); EXTERN HINSTANCE g_hinst INIT(= NULL); #endif - -#ifdef FEAT_TEXT_PROP -EXTERN int text_prop_frozen INIT(= 0); - -// Set to TRUE if there is any visible popup. -EXTERN int popup_visible INIT(= FALSE); -#endif |