shell: Fix getting active_handle for other_set
Use `other_set.active`, not `set_active`.
This commit is contained in:
parent
8a32571b8a
commit
2b7f898e83
1 changed files with 1 additions and 1 deletions
|
|
@ -683,7 +683,7 @@ impl Workspaces {
|
|||
// Remove workspaces that prefer this output from other sets
|
||||
let mut moved_workspaces = Vec::new();
|
||||
for other_set in self.sets.values_mut() {
|
||||
let active_handle = other_set.workspaces[set.active].handle;
|
||||
let active_handle = other_set.workspaces[other_set.active].handle;
|
||||
let (prefers, doesnt) = other_set
|
||||
.workspaces
|
||||
.drain(..)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue