1
0
forked from aniani/vim

patch 9.0.0802: MS-Windows: cannot map console mouse scroll events

Problem:    MS-Windows: cannot map console mouse scroll events.
Solution:   Change CSI to K_SPECIAL when checking for a mapping. (Christopher
            Plewright, closes #11410)
This commit is contained in:
Christopher Plewright
2022-10-20 13:11:15 +01:00
committed by Bram Moolenaar
parent 7609c88eed
commit 4c36678ffd
3 changed files with 25 additions and 5 deletions

View File

@@ -1265,7 +1265,7 @@ decode_mouse_wheel(MOUSE_EVENT_RECORD *pmer)
#ifdef FEAT_PROP_POPUP
int lcol = g_xMouse;
int lrow = g_yMouse;
wp = mouse_find_win(&lrow, &lcol, FAIL_POPUP);
wp = mouse_find_win(&lrow, &lcol, FIND_POPUP);
if (wp != NULL && popup_is_popup(wp))
{
g_nMouseClick = -1;