From 3a7af79e54db6854d8aa9d9e2866a9288d0f95d5 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 2 Mar 2026 12:32:18 -0500 Subject: [PATCH] update smithay-clipboard and sctk --- dnd/Cargo.toml | 4 ++-- mime/Cargo.toml | 2 +- src/platform/linux.rs | 1 + wayland/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dnd/Cargo.toml b/dnd/Cargo.toml index 85e61bb..0ddb926 100644 --- a/dnd/Cargo.toml +++ b/dnd/Cargo.toml @@ -9,9 +9,9 @@ bitflags = "2.5.0" raw-window-handle = "0.6" [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios", target_os="redox"))))'.dependencies] -smithay-clipboard = { git = "https://github.com/pop-os/smithay-clipboard", tag = "pop-dnd-5", features = [ +smithay-clipboard = { git = "https://github.com/pop-os/smithay-clipboard", tag = "sctk-0.20", features = [ "dnd", ] } -sctk = { package = "smithay-client-toolkit", version = "0.19.1", default-features = false, features = [ +sctk = { package = "smithay-client-toolkit", version = "0.20", default-features = false, features = [ "calloop", ] } diff --git a/mime/Cargo.toml b/mime/Cargo.toml index 176ca63..adacdb5 100644 --- a/mime/Cargo.toml +++ b/mime/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios", target_os="redox"))))'.dependencies] -smithay-clipboard = { git = "https://github.com/pop-os/smithay-clipboard", tag = "pop-dnd-5" } +smithay-clipboard = { git = "https://github.com/pop-os/smithay-clipboard", tag = "sctk-0.20" } diff --git a/src/platform/linux.rs b/src/platform/linux.rs index 3d953f1..379c8ce 100644 --- a/src/platform/linux.rs +++ b/src/platform/linux.rs @@ -74,6 +74,7 @@ impl ClipboardProvider for Clipboard { { match self { Clipboard::Wayland(c) => { + dbg!("linux write data..."); Some(c.write_data::>(contents)) } Clipboard::X11(_) => None, diff --git a/wayland/Cargo.toml b/wayland/Cargo.toml index d2f8c5b..fd1d4fc 100644 --- a/wayland/Cargo.toml +++ b/wayland/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["clipboard", "wayland"] [dependencies] -smithay-clipboard = { git = "https://github.com/pop-os/smithay-clipboard", tag = "pop-dnd-5", features = [ +smithay-clipboard = { git = "https://github.com/pop-os/smithay-clipboard", tag = "sctk-0.20", features = [ "dnd", ] } mime = { path = "../mime" }