deps: Update smithay
This commit is contained in:
parent
98f34e5279
commit
8e6537de39
7 changed files with 210 additions and 199 deletions
|
|
@ -11,6 +11,7 @@ use smithay::{
|
|||
use anyhow::{Context, Result};
|
||||
use std::{
|
||||
ffi::OsString,
|
||||
os::unix::prelude::AsRawFd,
|
||||
sync::{atomic::Ordering, Arc},
|
||||
};
|
||||
|
||||
|
|
@ -117,7 +118,11 @@ fn init_wayland_display(
|
|||
event_loop
|
||||
.handle()
|
||||
.insert_source(
|
||||
Generic::new(display.backend().poll_fd(), Interest::READ, Mode::Level),
|
||||
Generic::new(
|
||||
display.backend().poll_fd().as_raw_fd(),
|
||||
Interest::READ,
|
||||
Mode::Level,
|
||||
),
|
||||
move |_, _, data: &mut state::Data| match data.display.dispatch_clients(&mut data.state)
|
||||
{
|
||||
Ok(_) => Ok(PostAction::Continue),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue