feat: support idle notification and inhibition

This commit is contained in:
Samuel Onoja committed 2026-09-25 00:48:06 +01:00
1 parent e57d355db2
commit 37eb7cb9e9
4 files changed
+56 -2

No files matched your search

+3
View File
@@ -17,6 +17,9 @@ use ferese_layout::Direction;
impl Ferese {
pub fn process_input_event<I: InputBackend>(&mut self, event: InputEvent<I>) {
let seat = self.seat.clone();
self.idle_notifier_state.notify_activity(&seat);
match event {
InputEvent::Keyboard { event, .. } => {
let keyboard = self.seat.get_keyboard().expect("seat has a keyboard");