Skip to content

Commit

Permalink
Require object data
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisduerr committed May 30, 2024
1 parent 7e4d7b9 commit a8e5875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wayland-backend/src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ impl client::Backend {
&self,
interface: &'static Interface,
proxy: *mut wl_proxy,
data: Option<Arc<dyn ObjectData>>,
data: Arc<dyn ObjectData>,
) -> ObjectId {
unsafe { self.backend.manage_object(interface, proxy, data) }
unsafe { self.backend.manage_object(interface, proxy, Some(data)) }
}
}

Expand Down

0 comments on commit a8e5875

Please sign in to comment.