fix(wayland): naming

This commit is contained in:
Nova
2025-07-13 23:42:34 -07:00
parent e4186a90fc
commit 3571fa96aa

View File

@@ -236,12 +236,12 @@ impl Drop for WaylandClient {
#[derive(Debug, Resource)]
pub struct Wayland {
lockfile: FlockLock<File>,
_lockfile: FlockLock<File>,
abort_handle: AbortHandle,
}
impl Wayland {
pub fn new() -> Result<Self> {
let (socket_path, lockfile) =
let (socket_path, _lockfile) =
get_free_wayland_socket_path().ok_or(ServerError::WaylandError(
waynest::server::Error::IoError(std::io::ErrorKind::AddrNotAvailable.into()),
))?;
@@ -255,7 +255,7 @@ impl Wayland {
task::new(|| "wayland loop", Self::handle_wayland_loop(listener))?.abort_handle();
Ok(Self {
lockfile,
_lockfile,
abort_handle,
})
}