update smithay-clipboard and sctk
This commit is contained in:
parent
6b9faab87b
commit
3a7af79e54
4 changed files with 5 additions and 4 deletions
|
|
@ -9,9 +9,9 @@ bitflags = "2.5.0"
|
||||||
raw-window-handle = "0.6"
|
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]
|
[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",
|
"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",
|
"calloop",
|
||||||
] }
|
] }
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# 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]
|
[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" }
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@ impl ClipboardProvider for Clipboard {
|
||||||
{
|
{
|
||||||
match self {
|
match self {
|
||||||
Clipboard::Wayland(c) => {
|
Clipboard::Wayland(c) => {
|
||||||
|
dbg!("linux write data...");
|
||||||
Some(c.write_data::<ClipboardStoreData<T>>(contents))
|
Some(c.write_data::<ClipboardStoreData<T>>(contents))
|
||||||
}
|
}
|
||||||
Clipboard::X11(_) => None,
|
Clipboard::X11(_) => None,
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ keywords = ["clipboard", "wayland"]
|
||||||
|
|
||||||
[dependencies]
|
[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",
|
"dnd",
|
||||||
] }
|
] }
|
||||||
mime = { path = "../mime" }
|
mime = { path = "../mime" }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue