Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 32ff096

Browse files
committedMay 12, 2024·
Fix missing qualifier
1 parent f5c194a commit 32ff096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎druid-shell/src/backend/x11/window.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ impl WindowHandle {
19051905
#[cfg(feature = "raw-win-handle")]
19061906
impl HasWindowHandle for WindowHandle {
19071907
fn window_handle(&self) -> Result<raw_window_handle::WindowHandle<'_>, HandleError> {
1908-
let mut handle = XcbWindowHandle::new(NonZeroU32::new(self.id).unwrap());
1908+
let mut handle = XcbWindowHandle::new(std::num::NonZeroU32::new(self.id).unwrap());
19091909
handle.visual_id = std::num::NonZeroU32::new(self.visual_id);
19101910

19111911
let handle =

0 commit comments

Comments
 (0)
Please sign in to comment.