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

@ -19,7 +19,7 @@ crisp = []
basic-shaping = []
advanced-shaping = []
a11y = ["iced_accessibility"]
wayland = ["sctk"]
wayland = ["cctk"]
[dependencies]
bitflags.workspace = true
@ -42,8 +42,8 @@ window_clipboard.workspace = true
dnd.workspace = true
mime.workspace = true
sctk.workspace = true
sctk.optional = true
cctk.workspace = true
cctk.optional = true
# /TODO(POP)
[dependencies.iced_accessibility]
version = "0.1.0"

View file

@ -6,7 +6,7 @@ mod session_lock;
mod window;
use crate::{time::Instant, window::Id};
use sctk::reexports::client::protocol::{
use cctk::sctk::reexports::client::protocol::{
wl_output::WlOutput, wl_seat::WlSeat, wl_surface::WlSurface,
};

View file

@ -1,4 +1,4 @@
use sctk::output::OutputInfo;
use cctk::sctk::output::OutputInfo;
/// output events
#[derive(Debug, Clone)]

View file

@ -1,5 +1,5 @@
use crate::window::Id;
use sctk::reexports::client::protocol::wl_surface::WlSurface;
use cctk::sctk::reexports::client::protocol::wl_surface::WlSurface;
/// session lock events
#[derive(Debug, Clone, PartialEq, Eq)]