refactor: add buffer variant to icon argument when starting DnD

This commit is contained in:
Ashley Wulber 2024-03-26 23:22:47 -04:00
parent efe7a75e7b
commit ace619fd01
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
5 changed files with 184 additions and 22 deletions

View file

@ -1,7 +1,10 @@
[package]
name = "smithay-clipboard"
version = "0.8.0"
authors = ["Kirill Chibisov <contact@kchibisov.com>", "Victor Berger <victor.berger@m4x.org>"]
authors = [
"Kirill Chibisov <contact@kchibisov.com>",
"Victor Berger <victor.berger@m4x.org>",
]
edition = "2021"
description = "Provides access to the wayland clipboard for client applications."
repository = "https://github.com/smithay/smithay-clipboard"
@ -12,16 +15,23 @@ rust-version = "1.65.0"
[dependencies]
libc = "0.2.149"
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", default-features = false, features = ["calloop"] }
wayland-backend = { version = "0.3.3", default_features = false, features = ["client_system"] }
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", default-features = false, features = [
"calloop",
] }
wayland-backend = { version = "0.3.3", default_features = false, features = [
"client_system",
] }
[dev-dependencies]
dirs = "5.0.1"
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", default-features = false, features = ["calloop", "xkbcommon"] }
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", default-features = false, features = [
"calloop",
"xkbcommon",
] }
thiserror = "1.0.57"
url = "2.5.0"
[features]
default = ["dlopen", "dnd"]
dnd = []
dlopen = ["wayland-backend/dlopen" ]
dlopen = ["wayland-backend/dlopen"]