comparison src/vim.h @ 17580:d5e5d0fc3fa8 v8.1.1787

patch 8.1.1787: cannot resize a popup window commit https://github.com/vim/vim/commit/9bcb70c18a740bf9d97a1420df5964618f218a89 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 1 21:11:05 2019 +0200 patch 8.1.1787: cannot resize a popup window Problem: Cannot resize a popup window. Solution: Allow for resizing by dragging the lower right corncer.
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Aug 2019 21:15:07 +0200
parents 8cca2654d459
children 1348696d07cd
comparison
equal deleted inserted replaced
17579:8c91fe192c56 17580:d5e5d0fc3fa8
612 #define VALID_BOTLINE 0x20 // w_botine and w_empty_rows are valid 612 #define VALID_BOTLINE 0x20 // w_botine and w_empty_rows are valid
613 #define VALID_BOTLINE_AP 0x40 // w_botine is approximated 613 #define VALID_BOTLINE_AP 0x40 // w_botine is approximated
614 #define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position) 614 #define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position)
615 615
616 // Values for w_popup_flags. 616 // Values for w_popup_flags.
617 #define POPF_IS_POPUP 1 // this is a popup window 617 #define POPF_IS_POPUP 0x01 // this is a popup window
618 #define POPF_HIDDEN 2 // popup is not displayed 618 #define POPF_HIDDEN 0x02 // popup is not displayed
619 #define POPF_HANDLED 4 // popup was just redrawn or filtered 619 #define POPF_HANDLED 0x04 // popup was just redrawn or filtered
620 #define POPF_CURSORLINE 8 // popup is highlighting at the cursorline 620 #define POPF_CURSORLINE 0x08 // popup is highlighting at the cursorline
621 #define POPF_ON_CMDLINE 16 // popup overlaps command line 621 #define POPF_ON_CMDLINE 0x10 // popup overlaps command line
622 #define POPF_DRAG 0x20 // popup can be moved by dragging
623 #define POPF_RESIZE 0x40 // popup can be resized by dragging
622 624
623 #ifdef FEAT_TEXT_PROP 625 #ifdef FEAT_TEXT_PROP
624 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) 626 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0)
625 #else 627 #else
626 # define WIN_IS_POPUP(wp) 0 628 # define WIN_IS_POPUP(wp) 0