Model lock ownership explicitly and allow protected crash recovery
This commit is contained in:
1 parent
570984a39b
commit
8ad5293178
22 files changed
+264
-80
No files matched your search
@@ -27,7 +27,7 @@ fn mapped_tree(surface: &WlSurface) -> bool {
|
||||
impl Ferese {
|
||||
pub(crate) fn callback_outputs(&self) -> HashMap<Id, Output> {
|
||||
let mut surfaces = Vec::new();
|
||||
if self.session_lock.active {
|
||||
if self.session_lock.active() {
|
||||
for lock in self.session_lock.surfaces.values() {
|
||||
smithay::desktop::utils::with_surfaces_surface_tree(lock.wl_surface(), |surface, _| {
|
||||
surfaces.push(surface.clone());
|
||||
|
||||
Reference in new issue
Block a user