cosmic-session-lock-layer-v1 protocol

This commit is contained in:
Ian Douglas Scott 2026-09-08 14:10:18 -07:00 • committed by Jeremy Soller
parent 9ef36c9604
commit 87e1787fbb
6 changed files with 134 additions and 95 deletions

View file

@ -157,6 +157,11 @@ pub enum Action {
/// padding of the surface geometry
padding: IcedMargin,
},
ShowOnLock {
/// id of the layer surface
id: Id,
value: bool,
}
}
impl fmt::Debug for Action {
@ -215,6 +220,11 @@ impl fmt::Debug for Action {
"Action::LayerSurfaceAction::Padding {{ id: {:#?}, padding: {:?} }}",
id, padding
),
Action::ShowOnLock { id, value } => write!(
f,
"Action::LayerSurfaceAction::ShowOnLock {{ id: {:#?}, value: {:?} }}",
id, value
),
}
}
}