refactor: use cctk
This commit is contained in:
parent
1b8a399ebd
commit
6e91eabf4c
46 changed files with 224 additions and 183 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue