tree: set lock node to invisible when idling
This commit is contained in:
parent
e0e336bc69
commit
e500698af7
2 changed files with 6 additions and 1 deletions
|
|
@ -55,6 +55,11 @@ impl ExtSessionLockSurfaceV1 {
|
|||
height: height as _,
|
||||
});
|
||||
}
|
||||
|
||||
pub fn set_visible(&self, visible: bool) {
|
||||
self.surface.set_visible(visible);
|
||||
self.seat_state.set_visible(self, visible);
|
||||
}
|
||||
}
|
||||
|
||||
impl ExtSessionLockSurfaceV1RequestHandler for ExtSessionLockSurfaceV1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue