comparison src/vim.h @ 18613:fa995154904e v8.1.2300

patch 8.1.2300: redraw breaks going through list of popup windows Commit: https://github.com/vim/vim/commit/afe45b68a67769a61b44a96b0ffe3bfce4e9316e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 13 22:35:19 2019 +0100 patch 8.1.2300: redraw breaks going through list of popup windows Problem: Redraw breaks going through list of popup windows. Solution: Use different flags for popup_reset_handled(). (closes https://github.com/vim/vim/issues/5216)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Nov 2019 22:45:03 +0100
parents 244b336b94ce
children 673f4603d979
comparison
equal deleted inserted replaced
18612:29a5273d0270 18613:fa995154904e
622 #define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position) 622 #define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position)
623 623
624 // Values for w_popup_flags. 624 // Values for w_popup_flags.
625 #define POPF_IS_POPUP 0x01 // this is a popup window 625 #define POPF_IS_POPUP 0x01 // this is a popup window
626 #define POPF_HIDDEN 0x02 // popup is not displayed 626 #define POPF_HIDDEN 0x02 // popup is not displayed
627 #define POPF_HANDLED 0x04 // popup was just redrawn or filtered 627 #define POPF_CURSORLINE 0x04 // popup is highlighting at the cursorline
628 #define POPF_CURSORLINE 0x08 // popup is highlighting at the cursorline 628 #define POPF_ON_CMDLINE 0x08 // popup overlaps command line
629 #define POPF_ON_CMDLINE 0x10 // popup overlaps command line 629 #define POPF_DRAG 0x10 // popup can be moved by dragging
630 #define POPF_DRAG 0x20 // popup can be moved by dragging 630 #define POPF_RESIZE 0x20 // popup can be resized by dragging
631 #define POPF_RESIZE 0x40 // popup can be resized by dragging 631 #define POPF_MAPPING 0x40 // mapping keys
632 #define POPF_MAPPING 0x80 // mapping keys 632 #define POPF_INFO 0x80 // used for info of popup menu
633 #define POPF_INFO 0x100 // used for info of popup menu 633 #define POPF_INFO_MENU 0x100 // align info popup with popup menu
634 #define POPF_INFO_MENU 0x200 // align info popup with popup menu 634 #define POPF_POSINVERT 0x200 // vertical position can be inverted
635 #define POPF_POSINVERT 0x400 // vertical position can be inverted 635
636 // flags used in w_popup_handled
637 #define POPUP_HANDLED_1 0x01 // used by mouse_find_win()
638 #define POPUP_HANDLED_2 0x02 // used by popup_do_filter()
639 #define POPUP_HANDLED_3 0x04 // used by popup_check_cursor_pos()
640 #define POPUP_HANDLED_4 0x08 // used by may_update_popup_mask()
641 #define POPUP_HANDLED_5 0x10 // used by update_popups()
636 642
637 #ifdef FEAT_TEXT_PROP 643 #ifdef FEAT_TEXT_PROP
638 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) 644 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0)
639 #else 645 #else
640 # define WIN_IS_POPUP(wp) 0 646 # define WIN_IS_POPUP(wp) 0