=> 829733272b2a2fe6108c9834215bd07520b69033
[1mdiff --git a/src/macos.m b/src/macos.m[m [1mindex ad236784..191842f6 100644[m [1m--- a/src/macos.m[m [1m+++ b/src/macos.m[m [36m@@ -436,6 +436,10 @@[m [mstatic iBool processScrollWheelEvent_(NSEvent *event) {[m const iBool isInertia = (event.momentumPhase & (NSEventPhaseBegan | NSEventPhaseChanged)) != 0;[m const iBool isEnded = event.scrollingDeltaX == 0.0f && event.scrollingDeltaY == 0.0f && !isInertia;[m const iWindow *win = &get_MainWindow()->base;[m [32m+[m[32m if (event.window != nsWindow_(win->win)) {[m [32m+[m[32m /* Not the main window. */[m [32m+[m[32m return iFalse;[m [32m+[m[32m }[m if (isPerPixel) {[m /* On macOS 12.1, stopping ongoing inertia scroll with a tap seems to sometimes produce[m spurious large scroll events. */[m [36m@@ -525,7 +529,6 @@[m [mstatic iBool processScrollWheelEvent_(NSEvent *event) {[m ev.wheel.y = iSign(ev.wheel.y);[m }[m #endif[m [31m- [m return iTrue; [m }[m [m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).