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:
committed by
Bram Moolenaar
parent
7609c88eed
commit
4c36678ffd
@@ -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;
|
||||
|
Reference in New Issue
Block a user