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