From 96b6234c22f23b9c6fa13444519598ee29e3ad1c Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Mon, 18 Mar 2024 09:17:17 +0100 Subject: [PATCH] tree: update desired_output when explicitly moving workspace --- src/config/handler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/handler.rs b/src/config/handler.rs index 117938c2..f9bbb4f1 100644 --- a/src/config/handler.rs +++ b/src/config/handler.rs @@ -790,6 +790,7 @@ impl ConfigProxyHandler { source_is_destroyed: false, }; move_ws_to_output(&link, &output.node, config); + ws.desired_output.set(output.node.global.output_id.clone()); self.state.tree_changed(); self.state.damage(); Ok(())