Fix infinite recursion in `WindowId` conversion methods
@@ -85,13 +85,13 @@ impl WindowId {
impl From<WindowId> for u64 {
fn from(window_id: WindowId) -> Self {
- window_id.into()
+ window_id.0.into()
}
}
impl From<u64> for WindowId {
fn from(raw_id: u64) -> Self {
- raw_id.into()
+ Self(raw_id.into())
}
}
