Auto merge of #9710 - paulrouget:fix9702, r=glennw

do not send mouseevent twice

Fix #9702

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9710)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-02-20 11:33:06 +05:30
commit 875f1e92cc

View file

@ -1295,6 +1295,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
.send(ConstellationControlMsg::SendEvent(root_pipeline_id,
event_to_send))
.unwrap();
return
}
match self.find_topmost_layer_at_point(point / self.scene.scale) {