diff options
author | Christopher Plewright <chris@createng.com> | 2022-10-18 13:33:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-18 13:33:26 +0100 |
commit | 9298a996fc54e483dc29c0700edf3c5fe9d0f6a9 (patch) | |
tree | 11d93ceeeeb5d329ce0c2a576515c1401c2b6094 /src/os_win32.c | |
parent | 208567e9d744ef7b89bed1f62e951ae4ee2f6f5f (diff) |
patch 9.0.0787: mouse scrolling in terminal misbehaves without dllv9.0.0787
Problem: MS-Windows: mouse scrolling in terminal misbehaves without dll.
Solution: Add #ifdef as a temporary solution. (Christopher Plewright,
closes #11392)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 003fdea1b9..db43c9e810 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -1397,14 +1397,14 @@ decode_mouse_event( // unprocessed mouse click? if (g_nMouseClick != -1) return TRUE; - +#ifdef VIMDLL if (pmer->dwEventFlags == MOUSE_WHEELED || pmer->dwEventFlags == MOUSE_HWHEELED) { decode_mouse_wheel(pmer); return TRUE; // we now should have a mouse scroll in g_nMouseClick } - +#endif nButton = -1; g_xMouse = pmer->dwMousePosition.X; g_yMouse = pmer->dwMousePosition.Y; |