mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1016035 - Also mark widgetWheelEvents that are handled by APZ with mCanStartSwipe. r=kats
This commit is contained in:
parent
423ab08528
commit
a773168142
@ -2738,7 +2738,13 @@ nsChildView::DispatchAPZWheelInputEvent(InputData& aEvent, bool aCanTriggerSwipe
|
||||
|
||||
switch(aEvent.mInputType) {
|
||||
case PANGESTURE_INPUT: {
|
||||
event = aEvent.AsPanGestureInput().ToWidgetWheelEvent(this);
|
||||
PanGestureInput& panInput = aEvent.AsPanGestureInput();
|
||||
|
||||
event = panInput.ToWidgetWheelEvent(this);
|
||||
if (aCanTriggerSwipe) {
|
||||
SwipeInfo swipeInfo = SendMayStartSwipe(panInput);
|
||||
event.mCanTriggerSwipe = swipeInfo.wantsSwipe;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SCROLLWHEEL_INPUT: {
|
||||
|
Loading…
Reference in New Issue
Block a user