diff options
author | 2021-06-09 15:00:01 -0300 | |
---|---|---|
committer | 2021-06-25 14:14:03 +0200 | |
commit | 96a462d2f2cb608ad14c93cc55896108a2dccb2b (patch) | |
tree | cc87dea4b01aa89170f672668a051fb78cb9528a /winit | |
parent | 9ae22b58d843d9a39212028478598c19a49bc2e6 (diff) | |
download | iced-96a462d2f2cb608ad14c93cc55896108a2dccb2b.tar.gz iced-96a462d2f2cb608ad14c93cc55896108a2dccb2b.tar.bz2 iced-96a462d2f2cb608ad14c93cc55896108a2dccb2b.zip |
Use new enum variant and new winit repo
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/application.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index 9f51ae68..ce57bd1d 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -310,8 +310,9 @@ async fn run_instance<A, E, C>( window.request_redraw(); } - event::Event::ReceivedUrl(url) => { - events.push(iced_native::Event::UrlReceived(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)))); } event::Event::UserEvent(message) => { messages.push(message); |