Mercurial > vim
comparison src/globals.h @ 17306:16d5e91c5e5b v8.1.1652
patch 8.1.1652: GUI: popup window doesn't close on mouse movement
commit https://github.com/vim/vim/commit/49fe95f22517b775506ef34681000d84bb417eb3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 8 21:57:30 2019 +0200
patch 8.1.1652: GUI: popup window doesn't close on mouse movement
Problem: GUI: popup window doesn't close on mouse movement. (Paul Jolly)
Solution: Generate mouse-move events when a popup window is visible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 Jul 2019 22:00:04 +0200 |
parents | f16cee6adf29 |
children | ba06a1c42274 |
comparison
equal
deleted
inserted
replaced
17305:f60f78133fca | 17306:16d5e91c5e5b |
---|---|
601 EXTERN int aucmd_win_used INIT(= FALSE); /* aucmd_win is being used */ | 601 EXTERN int aucmd_win_used INIT(= FALSE); /* aucmd_win is being used */ |
602 | 602 |
603 #ifdef FEAT_TEXT_PROP | 603 #ifdef FEAT_TEXT_PROP |
604 EXTERN win_T *first_popupwin; // first global popup window | 604 EXTERN win_T *first_popupwin; // first global popup window |
605 EXTERN win_T *popup_dragwin INIT(= NULL); // popup window being dragged | 605 EXTERN win_T *popup_dragwin INIT(= NULL); // popup window being dragged |
606 | |
607 // Set to TRUE if there is any visible popup. | |
608 EXTERN int popup_visible INIT(= FALSE); | |
609 | |
610 EXTERN int text_prop_frozen INIT(= 0); | |
606 #endif | 611 #endif |
607 | 612 |
608 /* | 613 /* |
609 * The window layout is kept in a tree of frames. topframe points to the top | 614 * The window layout is kept in a tree of frames. topframe points to the top |
610 * of the tree. | 615 * of the tree. |
1678 typedef int HINSTANCE; | 1683 typedef int HINSTANCE; |
1679 # endif | 1684 # endif |
1680 EXTERN int ctrl_break_was_pressed INIT(= FALSE); | 1685 EXTERN int ctrl_break_was_pressed INIT(= FALSE); |
1681 EXTERN HINSTANCE g_hinst INIT(= NULL); | 1686 EXTERN HINSTANCE g_hinst INIT(= NULL); |
1682 #endif | 1687 #endif |
1683 | |
1684 #ifdef FEAT_TEXT_PROP | |
1685 EXTERN int text_prop_frozen INIT(= 0); | |
1686 | |
1687 // Set to TRUE if there is any visible popup. | |
1688 EXTERN int popup_visible INIT(= FALSE); | |
1689 #endif |