update smithay-clipboard and sctk

This commit is contained in:
Ashley Wulber 2026-03-02 12:32:18 -05:00
parent 6b9faab87b
commit 3a7af79e54
4 changed files with 5 additions and 4 deletions

View file

@ -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",
] }

View file

@ -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" }

View file

@ -74,6 +74,7 @@ impl ClipboardProvider for Clipboard {
{
match self {
Clipboard::Wayland(c) => {
dbg!("linux write data...");
Some(c.write_data::<ClipboardStoreData<T>>(contents))
}
Clipboard::X11(_) => None,

View file

@ -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" }