comparison src/mouse.c @ 26300:0374f55a16be v8.2.3681

patch 8.2.3681: cannot drag popup window after click on a status line Commit: https://github.com/vim/vim/commit/bfc5786a61693aaadc3e45f80a2f147c3a6711a3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 26 15:57:40 2021 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Nov 2021 17:00:04 +0100
parents b36ceac30454
children 8b7f01b39d79
comparison
equal deleted inserted replaced
26299:7598fb8825d2 26300:0374f55a16be
1628 // Click in a popup window may start dragging or modeless selection, 1628 // Click in a popup window may start dragging or modeless selection,
1629 // but not much else. 1629 // but not much else.
1630 if (WIN_IS_POPUP(wp)) 1630 if (WIN_IS_POPUP(wp))
1631 { 1631 {
1632 on_sep_line = 0; 1632 on_sep_line = 0;
1633 on_status_line = 0;
1633 in_popup_win = TRUE; 1634 in_popup_win = TRUE;
1634 if (which_button == MOUSE_LEFT && popup_close_if_on_X(wp, row, col)) 1635 if (which_button == MOUSE_LEFT && popup_close_if_on_X(wp, row, col))
1635 { 1636 {
1636 return IN_UNKNOWN; 1637 return IN_UNKNOWN;
1637 } 1638 }