refactor: use cctk

This commit is contained in:
Ashley Wulber 2024-11-23 02:02:52 -05:00
parent 1b8a399ebd
commit 6e91eabf4c
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
46 changed files with 224 additions and 183 deletions

View file

@ -18,7 +18,7 @@ debug = []
selector = ["dep:iced_selector"]
multi-window = []
a11y = ["iced_accessibility", "iced_core/a11y"]
wayland = ["iced_core/wayland", "sctk"]
wayland = ["iced_core/wayland", "cctk"]
[dependencies]
bytes.workspace = true
@ -34,8 +34,8 @@ sipper.optional = true
iced_selector.workspace = true
iced_selector.optional = true
iced_futures.features = ["thread-pool"]
sctk.workspace = true
sctk.optional = true
cctk.workspace = true
cctk.optional = true
iced_accessibility.workspace = true
iced_accessibility.optional = true
window_clipboard.workspace = true

View file

@ -1,7 +1,7 @@
use std::fmt;
use iced_core::layout::Limits;
use sctk::{
use cctk::sctk::{
reexports::client::protocol::wl_output::WlOutput,
shell::wlr_layer::{Anchor, KeyboardInteractivity, Layer},
};

View file

@ -4,7 +4,7 @@ use std::hash::{Hash, Hasher};
use iced_core::layout::Limits;
use iced_core::window::Id;
use iced_core::Rectangle;
use sctk::reexports::protocols::xdg::shell::client::xdg_positioner::{
use cctk::sctk::reexports::protocols::xdg::shell::client::xdg_positioner::{
Anchor, Gravity,
};
/// Popup creation details

View file

@ -2,7 +2,7 @@ use std::fmt;
use iced_core::window::Id;
use sctk::reexports::client::protocol::wl_output::WlOutput;
use cctk::sctk::reexports::client::protocol::wl_output::WlOutput;
/// Session lock action
#[derive(Clone)]