From 2b7f898e8382a57ebfc8d4467e1005933081ef94 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 10 Mar 2025 13:27:51 -0700 Subject: [PATCH] shell: Fix getting `active_handle` for `other_set` Use `other_set.active`, not `set_active`. --- src/shell/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 29503b99..5ab2737a 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -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(..)