summaryrefslogtreecommitdiffstats
path: root/glutin/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'glutin/src/application.rs')
-rw-r--r--glutin/src/application.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs
index 22dff149..a8e5dbf9 100644
--- a/glutin/src/application.rs
+++ b/glutin/src/application.rs
@@ -237,9 +237,15 @@ async fn run_instance<A, E, C>(
context.window().request_redraw();
}
- event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(url))) => {
+ event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(
+ event::MacOS::ReceivedUrl(url),
+ )) => {
use iced_native::event;
- events.push(iced_native::Event::PlatformSpecific(event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(url))));
+ events.push(iced_native::Event::PlatformSpecific(
+ event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(
+ url,
+ )),
+ ));
}
event::Event::UserEvent(message) => {
messages.push(message);