Model lock ownership explicitly and allow protected crash recovery

This commit is contained in:
Samuel Onoja committed 2026-10-02 08:48:01 +01:00
1 parent 570984a39b
commit 8ad5293178
22 files changed
+264 -80

No files matched your search

+3 -1
View File
@@ -12,7 +12,7 @@ impl Ferese {
self.reset_animation_clock();
}
if self.session_lock.active {
if self.session_lock.active() {
self.session_lock.output_added(output);
self.lock_input_activity();
}
@@ -77,6 +77,8 @@ impl Ferese {
self.session_lock.surfaces.remove(output);
self.session_lock.backgrounds.remove(output);
self.session_lock.output_removed(output);
self.confirm_lock_if_ready();
self.refresh_lock_idle_policy();
match self.output_workspaces.disconnect(output_id) {
Ok(Some(target)) => {