patch 8.2.3697: cannot drag a popup without a border

Problem:    Cannot drag a popup without a border.
Solution:   Add the "dragall" option. (closes #9218)
This commit is contained in:
Bram Moolenaar
2021-11-29 17:38:02 +00:00
parent 7f2c341664
commit 0b74d00693
8 changed files with 70 additions and 18 deletions

View File

@ -681,6 +681,9 @@ The second argument of |popup_create()| is a dictionary with options:
popup does not have a border. As soon as dragging
starts and "pos" is "center" it is changed to
"topleft".
dragall TRUE to allow the popup to be dragged from every
position. Makes it very difficult to select text in
the popup.
resize TRUE to allow the popup to be resized with the mouse
by grabbing at the bottom right corner. Has no effect
if the popup does not have a border.