diff options
author | 2023-05-11 17:40:09 +0100 | |
---|---|---|
committer | 2023-05-11 17:41:44 +0100 | |
commit | d6027d7da64c090e8735e755dc5095d77c38b721 (patch) | |
tree | f7ce3bde9d0d92d5fbcfd31269e4115d104c78cd /winit/src/settings | |
parent | 09a2a061303e954dbae7dab6f9bf092c121900f8 (diff) | |
download | iced-d6027d7da64c090e8735e755dc5095d77c38b721.tar.gz iced-d6027d7da64c090e8735e755dc5095d77c38b721.tar.bz2 iced-d6027d7da64c090e8735e755dc5095d77c38b721.zip |
Use raw-window-handle instead of HWND
Diffstat (limited to 'winit/src/settings')
-rw-r--r-- | winit/src/settings/windows.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winit/src/settings/windows.rs b/winit/src/settings/windows.rs index ff03a9c5..ce18da75 100644 --- a/winit/src/settings/windows.rs +++ b/winit/src/settings/windows.rs @@ -1,10 +1,12 @@ //! 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<winit::platform::windows::HWND>, + pub parent: Option<RawWindowHandle>, /// Drag and drop support pub drag_and_drop: bool, |