diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-08 15:00:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-08 15:00:04 +0100 |
commit | 27724251bc73f97b55240731f4316ee1b4eac1c5 (patch) | |
tree | 304b1488afa10d9b17f050699d1c3ddc839509bc /src/vim.h | |
parent | d899e51120798d3fb5420abb1f19dddf3f014d05 (diff) | |
download | vim-git-27724251bc73f97b55240731f4316ee1b4eac1c5.tar.gz |
patch 8.2.4913: popup_hide() does not always have effectv8.2.4913
Problem: Popup_hide() does not always have effect.
Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -631,15 +631,16 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); // Values for w_popup_flags. #define POPF_IS_POPUP 0x01 // this is a popup window #define POPF_HIDDEN 0x02 // popup is not displayed -#define POPF_CURSORLINE 0x04 // popup is highlighting at the cursorline -#define POPF_ON_CMDLINE 0x08 // popup overlaps command line -#define POPF_DRAG 0x10 // popup can be moved by dragging border -#define POPF_DRAGALL 0x20 // popup can be moved by dragging everywhere -#define POPF_RESIZE 0x40 // popup can be resized by dragging -#define POPF_MAPPING 0x80 // mapping keys -#define POPF_INFO 0x100 // used for info of popup menu -#define POPF_INFO_MENU 0x200 // align info popup with popup menu -#define POPF_POSINVERT 0x400 // vertical position can be inverted +#define POPF_HIDDEN_FORCE 0x04 // popup is explicitly set to not be displayed +#define POPF_CURSORLINE 0x08 // popup is highlighting at the cursorline +#define POPF_ON_CMDLINE 0x10 // popup overlaps command line +#define POPF_DRAG 0x20 // popup can be moved by dragging border +#define POPF_DRAGALL 0x40 // popup can be moved by dragging everywhere +#define POPF_RESIZE 0x80 // popup can be resized by dragging +#define POPF_MAPPING 0x100 // mapping keys +#define POPF_INFO 0x200 // used for info of popup menu +#define POPF_INFO_MENU 0x400 // align info popup with popup menu +#define POPF_POSINVERT 0x800 // vertical position can be inverted // flags used in w_popup_handled #define POPUP_HANDLED_1 0x01 // used by mouse_find_win() |