shell: Unset focused outputs on remove_output
This commit is contained in:
parent
9b4127555e
commit
2e1f6a4746
1 changed files with 3 additions and 0 deletions
|
|
@ -722,6 +722,9 @@ impl Workspaces {
|
|||
if &seat.active_output() == output {
|
||||
seat.set_active_output(&new_output);
|
||||
}
|
||||
if seat.focused_output().as_ref() == Some(output) {
|
||||
seat.set_focused_output(None);
|
||||
}
|
||||
}
|
||||
|
||||
let new_set = self.sets.get_mut(&new_output).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue