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

+1 -1
View File
@@ -32,7 +32,7 @@ pub(crate) fn sampled_output_elements(
include_cursor: bool,
frame: &crate::state::FrameScene,
) -> Vec<AnimatedWindowRenderElement> {
if state.session_lock.active {
if state.session_lock.active() {
let Some(geometry) = state.space.output_geometry(output) else {
return Vec::new();
};