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)
diff --git a/src/mouse.c b/src/mouse.c
index 77de8d5..6a32cac 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -1636,8 +1636,9 @@
{
return IN_UNKNOWN;
}
- else if ((wp->w_popup_flags & (POPF_DRAG | POPF_RESIZE))
+ else if (((wp->w_popup_flags & (POPF_DRAG | POPF_RESIZE))
&& popup_on_border(wp, row, col))
+ || (wp->w_popup_flags & POPF_DRAGALL))
{
popup_dragwin = wp;
popup_start_drag(wp, row, col);