refactor: use cctk
This commit is contained in:
parent
1b8a399ebd
commit
6e91eabf4c
46 changed files with 224 additions and 183 deletions
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
sctk = { package = "smithay-client-toolkit", git = "https://github.com/smithay/client-toolkit", rev = "828b1eb" }
|
||||
# sctk = { package = "smithay-client-toolkit", git = "https://github.com/smithay/client-toolkit", rev = "828b1eb" }
|
||||
iced = { path = "../..", default-features = false, features = [
|
||||
"tokio",
|
||||
"wayland",
|
||||
|
|
@ -17,3 +17,4 @@ env_logger = "0.10"
|
|||
futures-channel = "0.3.29"
|
||||
calloop = "0.12.3"
|
||||
rustix = { version = "0.38.30", features = ["fs", "shm"] }
|
||||
cctk.workspace = true
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use iced::{
|
|||
window::{self, Id, Settings},
|
||||
Element, Length, Subscription, Task,
|
||||
};
|
||||
use sctk::reexports::client::{Connection, Proxy};
|
||||
use cctk::sctk::reexports::client::{Connection, Proxy};
|
||||
|
||||
mod wayland;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ use iced::{
|
|||
};
|
||||
use iced_runtime::futures::subscription;
|
||||
use rustix::{io::Errno, shm::ShmOFlags};
|
||||
use sctk::{
|
||||
use cctk::sctk::{
|
||||
reexports::{
|
||||
calloop_wayland_source::WaylandSource,
|
||||
client::{
|
||||
|
|
@ -40,7 +40,7 @@ impl ProvidesRegistryState for AppData {
|
|||
&mut self.registry_state
|
||||
}
|
||||
|
||||
sctk::registry_handlers!();
|
||||
cctk::sctk::registry_handlers!();
|
||||
}
|
||||
|
||||
impl ShmHandler for AppData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue