refactor: update smithay-clipboard
This commit is contained in:
parent
4e05e3c657
commit
5bfbaae180
9 changed files with 70 additions and 35 deletions
|
|
@ -189,7 +189,7 @@ impl DndProvider for Clipboard {
|
|||
|
||||
fn peek_offer<D: AllowedMimeTypes + 'static>(
|
||||
&self,
|
||||
mime_type: Cow<'static, str>,
|
||||
mime_type: Option<Cow<'static, str>>,
|
||||
) -> std::io::Result<D> {
|
||||
match self {
|
||||
Clipboard::Wayland(c) => c.peek_offer::<D>(mime_type),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue