0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3681: cannot drag popup window after click on a status line

Problem:    Cannot drag popup window after click on a status line. (Sergey
            Vlasov)
Solution:   Reset on_status_line. (closes #9221)
This commit is contained in:
Bram Moolenaar
2021-11-26 15:57:40 +00:00
parent d1d8a595bd
commit bfc5786a61
4 changed files with 24 additions and 0 deletions

View File

@@ -1630,6 +1630,7 @@ retnomove:
if (WIN_IS_POPUP(wp))
{
on_sep_line = 0;
on_status_line = 0;
in_popup_win = TRUE;
if (which_button == MOUSE_LEFT && popup_close_if_on_X(wp, row, col))
{