wayland: run idle code unconditionally
This commit is contained in:
parent
8da6285be8
commit
01e3930ced
5 changed files with 1 additions and 18 deletions
|
|
@ -13,9 +13,6 @@ use {
|
|||
};
|
||||
|
||||
pub async fn idle(state: Rc<State>, backend: Rc<dyn Backend>) {
|
||||
if !backend.supports_idle() {
|
||||
return;
|
||||
}
|
||||
let timer = match TimerFd::new(c::CLOCK_MONOTONIC) {
|
||||
Ok(t) => t,
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue