chore(wayland): update waynest

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-09-30 22:32:09 +02:00
parent 2d6bc06cbe
commit 0ebfc1153e
29 changed files with 204 additions and 99 deletions

View File

@@ -9,7 +9,7 @@ use std::{
collections::HashSet,
io::Write,
os::{
fd::IntoRawFd,
fd::{AsFd, IntoRawFd},
unix::io::{FromRawFd, OwnedFd},
},
sync::{Arc, Weak},
@@ -68,7 +68,7 @@ impl ModifierState {
}
#[derive(waynest_server::RequestDispatcher)]
#[waynest(error = crate::wayland::WaylandError)]
#[waynest(error = crate::wayland::WaylandError, connection = crate::wayland::Client)]
pub struct Keyboard {
pub id: ObjectId,
focused_surface: Mutex<Weak<Surface>>,
@@ -103,7 +103,7 @@ impl Keyboard {
client,
self.id,
KeymapFormat::XkbV1,
fd,
fd.as_fd(),
keymap.len() as u32,
)
.await?;