diff options
author | 2023-02-28 13:44:36 -0800 | |
---|---|---|
committer | 2023-02-28 13:44:36 -0800 | |
commit | e36daa6f937abd7cb2071fd8852a3c12263944ea (patch) | |
tree | b951dd883d24963cdd3de66423feb42971684c25 /native/src/window | |
parent | 51296572c0189eaef8081c46270ff48b7e03258d (diff) | |
download | iced-e36daa6f937abd7cb2071fd8852a3c12263944ea.tar.gz iced-e36daa6f937abd7cb2071fd8852a3c12263944ea.tar.bz2 iced-e36daa6f937abd7cb2071fd8852a3c12263944ea.zip |
Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak.
Diffstat (limited to 'native/src/window')
-rw-r--r-- | native/src/window/id.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/native/src/window/id.rs b/native/src/window/id.rs index fa9761f5..0c3e5272 100644 --- a/native/src/window/id.rs +++ b/native/src/window/id.rs @@ -4,12 +4,10 @@ use std::hash::{Hash, Hasher}; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] /// The ID of the window. -/// -/// This is not necessarily the same as the window ID fetched from `winit::window::Window`. pub struct Id(u64); impl Id { - /// TODO(derezzedex): maybe change `u64` to an enum `Type::{Single, Multi(u64)}` + /// The reserved window ID for the primary window in an Iced application. pub const MAIN: Self = Id(0); /// Creates a new unique window ID. |