fix(wayland): warnings

This commit is contained in:
Nova
2024-03-09 23:16:32 -05:00
parent 34aab266a3
commit 302a64785d
2 changed files with 2 additions and 8 deletions

View File

@@ -46,14 +46,6 @@ pub struct ClientState {
pub display: Weak<DisplayWrapper>,
pub seat: Arc<SeatWrapper>,
}
impl ClientState {
pub fn flush(&self) {
let Some(display) = self.display.upgrade() else {
return;
};
let _ = display.flush_clients(self.id.get().cloned());
}
}
impl ClientData for ClientState {
fn initialized(&self, client_id: ClientId) {
info!("Wayland client {:?} connected", client_id);