fix: upgrade smithay

This commit is contained in:
Nova
2023-05-10 16:51:39 -04:00
parent fa6ea5adc5
commit 54ad2667c3
5 changed files with 71 additions and 94 deletions

View File

@@ -23,7 +23,7 @@ use smithay::{
utils::{Size, Transform},
wayland::{
buffer::BufferHandler,
compositor::CompositorState,
compositor::{CompositorClientState, CompositorState},
dmabuf::{self, DmabufGlobal, DmabufHandler, DmabufState},
shell::kde::decoration::KdeDecorationState,
shm::{ShmHandler, ShmState},
@@ -32,7 +32,10 @@ use smithay::{
use std::sync::{Arc, Weak};
use tracing::info;
pub struct ClientState;
#[derive(Default)]
pub struct ClientState {
pub compositor_state: CompositorClientState,
}
impl ClientData for ClientState {
fn initialized(&self, client_id: ClientId) {
info!("Wayland client {:?} connected", client_id);