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
|
|
@ -976,7 +976,7 @@ impl OutputNode {
|
|||
let mut visible = self.state.root_visible();
|
||||
if self.state.lock.locked.get() {
|
||||
if let Some(surface) = self.lock_surface.get() {
|
||||
surface.surface.set_visible(visible);
|
||||
surface.set_visible(visible);
|
||||
}
|
||||
visible = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue