From: Mao-Yining Date: Mon, 9 Feb 2026 18:49:48 +0000 (+0000) Subject: patch 9.1.2142: MS-Windows: mouse scroll events not handled for popups X-Git-Tag: v9.1.2142^0 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=18dd63808cdb7ab40bcb798b40f9f813024741e9;p=thirdparty%2Fvim.git patch 9.1.2142: MS-Windows: mouse scroll events not handled for popups Problem: MS-Windows: mouse scroll events not handled for popups Solution: Do not return early (Mao-Yining) Ensure mouse wheel events on popup windows are properly processed by sending the corresponding key messages. Previously, early returns prevented normal event flow, causing popup windows to ignore scroll input. fixes: #19353 closes: #19369 Signed-off-by: Mao-Yining Signed-off-by: Christian Brabandt --- diff --git a/src/gui_w32.c b/src/gui_w32.c index 59f2880797..3c5178067a 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -4742,7 +4742,6 @@ _OnMouseWheel(HWND hwnd UNUSED, WPARAM wParam, LPARAM lParam, int horizontal) update_screen(0); setcursor(); out_flush(); - return; } #endif diff --git a/src/os_win32.c b/src/os_win32.c index 9526a6ae92..a3d66c4b9c 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -1507,7 +1507,6 @@ decode_mouse_wheel(MOUSE_EVENT_RECORD *pmer) update_screen(0); setcursor(); out_flush(); - return; } # endif mouse_col = g_xMouse; diff --git a/src/version.c b/src/version.c index 5f437f42d6..6a6eaecb92 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2142, /**/ 2141, /**/