Bug 1242690 - Don't apply the main-thread callback transform for events in a drag block. r=rbarker

MozReview-Commit-ID: 9C471AJaKjt
This commit is contained in:
Kartikaya Gupta 2016-03-10 18:25:49 -05:00
parent 3852f2d195
commit 6c01d2a7c5

View File

@ -718,6 +718,12 @@ APZCTreeManager::ReceiveInputEvent(InputData& aEvent,
if (untransformedRefPoint) {
mouseInput.mOrigin = *untransformedRefPoint;
}
} else {
// Likewise, if the input was targeted at a scrollbar, we don't want to
// apply the callback transform in the main thread, so we remove the
// scrollid from the guid. We need to keep the layersId intact so
// that the response from the child process doesn't get discarded.
aOutTargetGuid->mScrollId = FrameMetrics::NULL_SCROLL_ID;
}
}
break;