diff options
author | 2024-06-14 02:23:25 +0200 | |
---|---|---|
committer | 2024-06-14 02:33:05 +0200 | |
commit | b21e4567dc32250c90d2ea9c78080cd8bcb66368 (patch) | |
tree | f018fe0f8b6d323d176baa20f684c56d9dad4601 /core | |
parent | 4e7cbbf98ab745351e2fb13a7c85d4ad560c21ee (diff) | |
download | iced-b21e4567dc32250c90d2ea9c78080cd8bcb66368.tar.gz iced-b21e4567dc32250c90d2ea9c78080cd8bcb66368.tar.bz2 iced-b21e4567dc32250c90d2ea9c78080cd8bcb66368.zip |
Remove `parent` from `PlatformSpecific` window settings
Diffstat (limited to 'core')
-rw-r--r-- | core/Cargo.toml | 3 | ||||
-rw-r--r-- | core/src/window/settings/windows.rs | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 3c557bca..a1228909 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -33,8 +33,5 @@ web-time.workspace = true dark-light.workspace = true dark-light.optional = true -[target.'cfg(windows)'.dependencies] -raw-window-handle.workspace = true - [dev-dependencies] approx = "0.5" diff --git a/core/src/window/settings/windows.rs b/core/src/window/settings/windows.rs index d3bda259..88fe2fbd 100644 --- a/core/src/window/settings/windows.rs +++ b/core/src/window/settings/windows.rs @@ -1,12 +1,8 @@ //! Platform specific settings for Windows. -use raw_window_handle::RawWindowHandle; /// The platform specific window settings of an application. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct PlatformSpecific { - /// Parent window - pub parent: Option<RawWindowHandle>, - /// Drag and drop support pub drag_and_drop: bool, @@ -17,7 +13,6 @@ pub struct PlatformSpecific { impl Default for PlatformSpecific { fn default() -> Self { Self { - parent: None, drag_and_drop: true, skip_taskbar: false, } |