Track displayed surface visibility for idle inhibition

This commit is contained in:
Samuel Onoja committed 2026-10-02 07:57:15 +01:00
1 parent aa54ab1b2b
commit 6b2974d0fa
11 files changed
+206 -3

No files matched your search

+4
View File
@@ -183,6 +183,10 @@ pub fn init(event_loop: &mut EventLoop<Ferese>, state: &mut Ferese) -> Result<()
state.loop_signal.stop();
return;
}
state.display_presentation.queued(&output, &rendered_states);
state.display_presentation.presented(&output);
state.refresh_idle_inhibition();
if state.session_lock.active {
state.lock_frame_presented(&output);
}