mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
windows: final stretch
This commit is contained in:
parent
3ec1cfba73
commit
3214610f16
@ -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())) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user