diff options
| author | 2024-02-03 15:10:45 +0100 | |
|---|---|---|
| committer | 2024-02-03 15:10:45 +0100 | |
| commit | 26569069038d60c05e935c45d34cc5c8099c798f (patch) | |
| tree | 53019e0702b540c2b9a3f67b92968894d47e40be /winit | |
| parent | 6e97595d953811fe3f5877e13022c3b5d3b070a6 (diff) | |
| download | iced-26569069038d60c05e935c45d34cc5c8099c798f.tar.gz iced-26569069038d60c05e935c45d34cc5c8099c798f.tar.bz2 iced-26569069038d60c05e935c45d34cc5c8099c798f.zip | |
Rename `PlateformSpecific` variant in `Action` to `Custom`
Diffstat (limited to '')
| -rw-r--r-- | winit/src/application.rs | 4 | ||||
| -rw-r--r-- | winit/src/multi_window.rs | 3 | 
2 files changed, 6 insertions, 1 deletions
| diff --git a/winit/src/application.rs b/winit/src/application.rs index e44b3ca5..24c98d46 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -861,7 +861,9 @@ pub fn run_command<A, C, E>(                      .send_event(tagger(Ok(())))                      .expect("Send message to event loop");              } -            command::Action::PlatformSpecific(_) => unimplemented!(), +            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"); +            }          }      }  } | 
