Track displayed surface visibility for idle inhibition
This commit is contained in:
1 parent
aa54ab1b2b
commit
6b2974d0fa
11 files changed
+206
-3
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user