Auto merge of #11715 - pcwalton:wr-overscroll-event-targeting-fix, r=glennw

compositor: Rerequest scroll positions from WebRender while overscrolled layers are bouncing back.

This fixes a very annoying issue whereby overscrolling would cause mouse
events to go to the wrong place until the layer was scrolled again.

r? @glennw

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11715)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-06-13 01:03:48 -05:00 committed by GitHub
commit 4f1837e9ab

View file

@ -2487,7 +2487,8 @@ impl<Window: WindowMethods> IOCompositor<Window> {
} }
if let Some(ref webrender_api) = self.webrender_api { if let Some(ref webrender_api) = self.webrender_api {
webrender_api.tick_scrolling_bounce_animations() webrender_api.tick_scrolling_bounce_animations();
self.send_webrender_viewport_rects()
} }
} }