1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00

windows: and maybe this fixes the build now!

This commit is contained in:
Wez Furlong 2024-01-20 16:06:19 -07:00
parent ba85958a61
commit 3ec1cfba73
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -721,7 +721,7 @@ impl WindowInner {
impl HasDisplayHandle for Window {
fn display_handle(&self) -> Result<DisplayHandle, HandleError> {
unsafe {
Ok(DisplayHandle::from_raw(RawDisplayHandle::Windows(
Ok(DisplayHandle::borrow_raw(RawDisplayHandle::Windows(
WindowsDisplayHandle::new(),
)))
}