diff options
author | 2024-02-03 15:23:06 +0100 | |
---|---|---|
committer | 2024-02-03 15:23:06 +0100 | |
commit | 1d58d44fad605e428e7c203f610d3f98e53970d7 (patch) | |
tree | f96d47005762bac799b1eafb3cdab3732d5095c8 /winit | |
parent | 0b2c9db22868c43e4dd160b66abddce0846991b1 (diff) | |
parent | 4375e4b83c6572e23db9f2443bbc7fe266f7e0a8 (diff) | |
download | iced-1d58d44fad605e428e7c203f610d3f98e53970d7.tar.gz iced-1d58d44fad605e428e7c203f610d3f98e53970d7.tar.bz2 iced-1d58d44fad605e428e7c203f610d3f98e53970d7.zip |
Merge pull request #2146 from Decodetalkers/customaction
feat: somewhere to place extra actions by platform
Diffstat (limited to '')
-rw-r--r-- | winit/src/application.rs | 3 | ||||
-rw-r--r-- | winit/src/multi_window.rs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index 21a985e8..24c98d46 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -861,6 +861,9 @@ pub fn run_command<A, C, E>( .send_event(tagger(Ok(()))) .expect("Send message to event loop"); } + command::Action::Custom(_) => { + log::warn!("Unsupported custom action in `iced_winit` shell"); + } } } } diff --git a/winit/src/multi_window.rs b/winit/src/multi_window.rs index 1c45ce37..662adf5b 100644 --- a/winit/src/multi_window.rs +++ b/winit/src/multi_window.rs @@ -1127,6 +1127,9 @@ fn run_command<A, C, E>( .send_event(tagger(Ok(()))) .expect("Send message to event loop"); } + command::Action::Custom(_) => { + log::warn!("Unsupported custom action in `iced_winit` shell"); + } } } } |