diff --git a/Cargo.toml b/Cargo.toml index 2f95b71..79015ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ evdev = { version = "0.12.2", features = ["tokio"] } futures = { version = "0.3.29", features = ["compat"] } inotify = "0.10.2" lazy_static = "1.5.0" -libc = "0.2.161" log = "0.4.20" mlua = { version = "0.9.1", features = ["async", "luau", "send"] } nix = { version = "0.29.0", features = ["fs", "poll", "signal", "time"] } diff --git a/src/main.rs b/src/main.rs index 0a6cce1..739b1db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -710,7 +710,7 @@ impl WaylandRunner { for (_, (_, notification)) in map.iter() { notification.destroy(); } - self.connection.flush(); + let _ = self.connection.flush(); } self.tx.send(Request::LuaReload).await.unwrap(); } @@ -754,7 +754,7 @@ impl WaylandRunner { let _ = self.inhibit_sleep(); } Request::Flush => { - self.connection.flush(); + let _ = self.connection.flush(); } } }