Compare commits

..

2 Commits

View File

@ -118,6 +118,7 @@ fn main() -> anyhow::Result<()> {
(command_handlers.restart_handler)(&mut screensaver, None)?;
}
let conn_fd = borrow_raw_fd(conn_fd);
let mut pfds = Vec::new();
pfds.push(PollFd::new(borrow_raw_fd(signal_fd.as_raw_fd()), PollFlags::POLLIN));