1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

windows: final stretch

This commit is contained in:
Wez Furlong 2024-01-20 20:51:27 -07:00
parent 3ec1cfba73
commit 3214610f16
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -734,7 +734,8 @@ impl HasWindowHandle for Window {
let handle = conn.get_window(self.0).expect("window handle invalid!?");
let inner = handle.borrow();
inner.window_handle()
let handle = inner.window_handle()?;
unsafe { Ok(WindowHandle::borrow_raw(handle.as_raw())) }
}
}