mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.1525: cannot move a popup window with the mouse
Problem: Cannot move a popup window with the mouse. Solution: Add the "drag" property and make it possible to drag a popup window by its border.
This commit is contained in:
@@ -2909,6 +2909,7 @@ struct window_S
|
||||
linenr_T w_popup_lnum; // close popup if cursor not on this line
|
||||
colnr_T w_popup_mincol; // close popup if cursor before this col
|
||||
colnr_T w_popup_maxcol; // close popup if cursor after this col
|
||||
int w_popup_drag; // allow moving the popup with the mouse
|
||||
|
||||
# if defined(FEAT_TIMERS)
|
||||
timer_T *w_popup_timer; // timer for closing popup window
|
||||
|
Reference in New Issue
Block a user