11 lines
291 B
Rust
11 lines
291 B
Rust
use smithay::wayland::idle_notify::IdleNotifierHandler;
|
|
|
|
use crate::state::State;
|
|
|
|
impl IdleNotifierHandler for State {
|
|
fn idle_notifier_state(
|
|
&mut self,
|
|
) -> &mut smithay::wayland::idle_notify::IdleNotifierState<Self> {
|
|
&mut self.common.idle_notifier_state
|
|
}
|
|
}
|