summaryrefslogtreecommitdiffstats
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorChristopher Plewright <chris@createng.com>2022-10-20 13:11:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-20 13:11:15 +0100
commit4c36678ffd1f933a6d4a12415994dea15e4ccec6 (patch)
tree9006e03edaa19e6ad8c46e14910fa04ac6075549 /src/os_win32.c
parent7609c88eedc113bc80ccf74050b03a2e0c1a3c5e (diff)
patch 9.0.0802: MS-Windows: cannot map console mouse scroll eventsv9.0.0802
Problem: MS-Windows: cannot map console mouse scroll events. Solution: Change CSI to K_SPECIAL when checking for a mapping. (Christopher Plewright, closes #11410)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 03b3ac0371..ca1799f131 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -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;