summaryrefslogtreecommitdiffstats
path: root/glutin/src
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2021-06-14 17:21:55 -0300
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-06-25 14:15:11 +0200
commit612585109ffc9a14a507c3c8423c6aa790c35cbf (patch)
treeacf6d59469d89e46020cb7a27ce217294ed47e9e /glutin/src
parent96a462d2f2cb608ad14c93cc55896108a2dccb2b (diff)
downloadiced-612585109ffc9a14a507c3c8423c6aa790c35cbf.tar.gz
iced-612585109ffc9a14a507c3c8423c6aa790c35cbf.tar.bz2
iced-612585109ffc9a14a507c3c8423c6aa790c35cbf.zip
Use `winit` and `glutin` forks in `iced-rs` org
Diffstat (limited to 'glutin/src')
-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);