Skip to content

Commit

Permalink
Fix missing qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
atlanticaccent committed May 12, 2024
1 parent f5c194a commit 32ff096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid-shell/src/backend/x11/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@ impl WindowHandle {
#[cfg(feature = "raw-win-handle")]
impl HasWindowHandle for WindowHandle {
fn window_handle(&self) -> Result<raw_window_handle::WindowHandle<'_>, HandleError> {
let mut handle = XcbWindowHandle::new(NonZeroU32::new(self.id).unwrap());
let mut handle = XcbWindowHandle::new(std::num::NonZeroU32::new(self.id).unwrap());
handle.visual_id = std::num::NonZeroU32::new(self.visual_id);

let handle =
Expand Down

0 comments on commit 32ff096

Please sign in to comment.