fix: clear sticky windows, or floating windows focus hint if focus moves
This commit is contained in:
parent
0fbd4574ef
commit
6645edff64
4 changed files with 40 additions and 10 deletions
|
|
@ -516,6 +516,12 @@ impl WorkspaceSet {
|
|||
}
|
||||
}
|
||||
|
||||
fn refresh_focus_stacks(&mut self) {
|
||||
for workspace in &mut self.workspaces {
|
||||
workspace.refresh_focus_stack();
|
||||
}
|
||||
}
|
||||
|
||||
fn activate(
|
||||
&mut self,
|
||||
idx: usize,
|
||||
|
|
@ -620,6 +626,7 @@ impl WorkspaceSet {
|
|||
self.workspaces[self.active].refresh();
|
||||
}
|
||||
self.sticky_layer.refresh();
|
||||
self.refresh_focus_stacks();
|
||||
}
|
||||
|
||||
fn add_empty_workspace(&mut self, state: &mut WorkspaceUpdateGuard<State>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue