do not send mouseevent twice

This commit is contained in:
Paul Rouget 2016-02-20 05:03:10 +01:00
parent 2676307793
commit 7ddb160f9c

View file

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