diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-29 17:38:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-29 17:38:02 +0000 |
commit | 0b74d00693f2ff5f45cb5808197df7d1aaa5cb41 (patch) | |
tree | 2ae18c504ae7e20ae2e99788791f10b234aeee64 /src/vim.h | |
parent | 7f2c34166402740a661131d6341bbf874bdb3d48 (diff) |
patch 8.2.3697: cannot drag a popup without a borderv8.2.3697
Problem: Cannot drag a popup without a border.
Solution: Add the "dragall" option. (closes #9218)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -638,12 +638,13 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); #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 -#define POPF_RESIZE 0x20 // popup can be resized by dragging -#define POPF_MAPPING 0x40 // mapping keys -#define POPF_INFO 0x80 // used for info of popup menu -#define POPF_INFO_MENU 0x100 // align info popup with popup menu -#define POPF_POSINVERT 0x200 // vertical position can be inverted +#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 // flags used in w_popup_handled #define POPUP_HANDLED_1 0x01 // used by mouse_find_win() |