Use iced_sctk re-export

This commit is contained in:
Ian Douglas Scott 2023-01-26 15:47:23 -08:00
parent 2cbef636a4
commit cc87545b7d
3 changed files with 5 additions and 7 deletions

1
Cargo.lock generated
View file

@ -459,7 +459,6 @@ version = "0.1.0"
dependencies = [
"cosmic-client-toolkit",
"futures-channel",
"iced_sctk",
"libcosmic",
"tokio",
"zbus",

View file

@ -6,7 +6,6 @@ edition = "2021"
[dependencies]
cctk = { package = "cosmic-client-toolkit", git = "https://github.com/pop-os/cosmic-protocols" }
futures-channel = "0.3.25"
iced_sctk = { git = "https://github.com/pop-os/libcosmic" }
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false, features = ["tokio", "wayland"] }
tokio = "1.23.0"
zbus = { version = "3.7.0", default-features = false, features = ["tokio"] }

View file

@ -24,11 +24,11 @@ use cosmic::{
},
window::Id as SurfaceId,
},
};
use iced_sctk::{
application::SurfaceIdWrapper,
commands::layer_surface::{destroy_layer_surface, get_layer_surface},
settings::InitialSurface,
iced_sctk::{
application::SurfaceIdWrapper,
commands::layer_surface::{destroy_layer_surface, get_layer_surface},
settings::InitialSurface,
},
};
use std::{collections::HashMap, mem, process};