mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
import change from rmottola/Arctic-Fox:
- revert PaleMoon HSCROLL (077a87aed) - If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1) (8c0ba79d6) - Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2) (fb6b7e57b) - Events synthesized in the child process must be propagated back to the parent. (bug 1126090 part 3) (5a4c9439e) - Translate coordinates in events synthesized from the child process. (bug 1126090 part 4) (5148f7fc2) - Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5) (b99a19995) - Don't try to async scroll frames that have less than one pixel of scrollability. (bug 1126090 part 7) (475ffa090)
This commit is contained in:
@@ -1030,9 +1030,7 @@ nsDOMWindowUtils::SendWheelEvent(float aX,
|
||||
|
||||
wheelEvent.refPoint = ToWidgetPoint(CSSPoint(aX, aY), offset, presContext);
|
||||
|
||||
nsEventStatus status;
|
||||
nsresult rv = widget->DispatchEvent(&wheelEvent, status);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
widget->DispatchAPZAwareEvent(&wheelEvent);
|
||||
|
||||
bool failedX = false;
|
||||
if ((aOptions & WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_X_ZERO) &&
|
||||
|
||||
Reference in New Issue
Block a user