Fix warnings.

This commit is contained in:
Ms2ger 2015-12-04 10:31:19 +01:00
parent 39a36a0098
commit 208c05f944
4 changed files with 3 additions and 5 deletions

View file

@ -617,13 +617,13 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
pipeline_id, event_type, button, point)) => {
if let Some(pipeline) = self.pipelines.get(&pipeline_id) {
pipeline.script_chan.send(ConstellationControlMsg::SendEvent(pipeline_id,
CompositorEvent::MouseButtonEvent(event_type, button, point)));
CompositorEvent::MouseButtonEvent(event_type, button, point))).unwrap();
}
}
Request::Script(FromScriptMsg::ForwardMouseMoveEvent(pipeline_id, point)) => {
if let Some(pipeline) = self.pipelines.get(&pipeline_id) {
pipeline.script_chan.send(ConstellationControlMsg::SendEvent(pipeline_id,
CompositorEvent::MouseMoveEvent(Some(point))));
CompositorEvent::MouseMoveEvent(Some(point)))).unwrap();
}
}
Request::Script(FromScriptMsg::GetClipboardContents(sender)) => {