diff --git a/Cargo.toml b/Cargo.toml index 4d10e528..eb3579ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,11 +11,11 @@ default = ["tiny_skia", "winit", "tokio", "a11y"] debug = ["iced/debug"] a11y = ["iced/a11y", "iced_accessibility"] tiny_skia = ["iced/tiny-skia", "iced_tiny_skia"] -wayland = ["iced/wayland", "iced_sctk"] +wayland = ["iced/wayland", "iced_sctk", "sctk",] wgpu = ["iced/wgpu", "iced_wgpu"] tokio = ["dep:tokio", "iced/tokio"] winit = ["iced/winit", "iced_winit"] -applet = ["cosmic-panel-config", "sctk", "wayland"] +applet = ["cosmic-panel-config", "wayland"] winit_tiny_skia = ["winit", "tiny_skia"] winit_wgpu = ["winit", "wgpu"] @@ -26,7 +26,7 @@ lazy_static = "1.4.0" palette = "0.6.1" tokio = { version = "1.24.2", optional = true } cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", optional = true } -sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", optional = true, rev = "389a4f2" } +sctk = { package = "smithay-client-toolkit", git = "https://github.com/pop-os/client-toolkit", optional = true, tag = "themed-pointer"} slotmap = "1.0.6" fraction = "0.13.0" cosmic-config = { path = "cosmic-config" } diff --git a/src/lib.rs b/src/lib.rs index 2f4784a1..aa04d562 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,8 @@ pub use iced_style; pub use iced_widget; #[cfg(feature = "winit")] pub use iced_winit; +#[cfg(feature = "wayland")] +pub use sctk; #[cfg(feature = "applet")] pub mod applet; pub mod executor;