diff options
author | 2022-06-15 20:10:15 -0300 | |
---|---|---|
committer | 2023-01-09 11:27:04 -0800 | |
commit | 00d6baf861ba57984a341283823e9fea3c262130 (patch) | |
tree | ee7c1ffaca28bc19607f5333b33fb6fb1de821a3 /winit/src/settings/windows.rs | |
parent | 5919325d9b9ebf86f7358059201e6fc1af2412d8 (diff) | |
download | iced-00d6baf861ba57984a341283823e9fea3c262130.tar.gz iced-00d6baf861ba57984a341283823e9fea3c262130.tar.bz2 iced-00d6baf861ba57984a341283823e9fea3c262130.zip |
fix: temporalily remove the unsafe pointer `HWND`
Diffstat (limited to '')
-rw-r--r-- | winit/src/settings/windows.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winit/src/settings/windows.rs b/winit/src/settings/windows.rs index ff03a9c5..0891ec2c 100644 --- a/winit/src/settings/windows.rs +++ b/winit/src/settings/windows.rs @@ -4,7 +4,7 @@ #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct PlatformSpecific { /// Parent window - pub parent: Option<winit::platform::windows::HWND>, + // pub parent: Option<winit::platform::windows::HWND>, /// Drag and drop support pub drag_and_drop: bool, @@ -13,7 +13,7 @@ pub struct PlatformSpecific { impl Default for PlatformSpecific { fn default() -> Self { Self { - parent: None, + // parent: None, drag_and_drop: true, } } |