mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -1636,8 +1636,9 @@ retnomove:
|
||||
{
|
||||
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);
|
||||
|
Reference in New Issue
Block a user