refactor: update smithay-clipboard

This commit is contained in:
Ashley Wulber 2024-03-26 17:32:09 -04:00
parent 4e05e3c657
commit 5bfbaae180
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
9 changed files with 70 additions and 35 deletions

View file

@ -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),