* src/nsterm.m (- mouseDown): Clear scroll wheel
accumulators.
lines = abs (totalDeltaX / lineHeight);
x = totalDeltaX;
- totalDeltaX = totalDeltaX % lineHeight;
+ if (!x_coalesce_scroll_events)
+ totalDeltaX = 0;
+ else
+ totalDeltaX = totalDeltaX % lineHeight;
totalDeltaY = 0;
}
else if (abs (totalDeltaY) >= abs (totalDeltaX)
lines = abs (totalDeltaY / lineHeight);
y = totalDeltaY;
- totalDeltaY = totalDeltaY % lineHeight;
+ if (!x_coalesce_scroll_events)
+ totalDeltaY = 0;
+ else
+ totalDeltaY = totalDeltaY % lineHeight;
totalDeltaX = 0;
}