diff --git a/src/window.rs b/src/window.rs index dbe54e0d..2d732e8a 100644 --- a/src/window.rs +++ b/src/window.rs @@ -85,13 +85,13 @@ impl WindowId { impl From for u64 { fn from(window_id: WindowId) -> Self { - window_id.into() + window_id.0.into() } } impl From for WindowId { fn from(raw_id: u64) -> Self { - raw_id.into() + Self(raw_id.into()) } }