refactor: update smithay-clipboard
This commit is contained in:
parent
4e05e3c657
commit
5bfbaae180
9 changed files with 70 additions and 35 deletions
|
|
@ -44,7 +44,8 @@ impl<T: mime::AsMimeTypes> AsMimeTypes for DataWrapper<T> {
|
|||
|
||||
impl smithay_clipboard::dnd::RawSurface for DndSurface {
|
||||
unsafe fn get_ptr(&mut self) -> *mut c_void {
|
||||
// XXX won't panic because this is only called once before it could be cloned
|
||||
// XXX won't panic because this is only called once before it could be
|
||||
// cloned
|
||||
Arc::get_mut(&mut self.0).unwrap().get_ptr()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue