1
0
Fork 0
forked from wry/wry

Merge pull request #133 from mahkoh/jorth/desired-output-update

tree: update desired_output when explicitly moving workspace
This commit is contained in:
mahkoh 2024-03-18 09:25:52 +01:00 committed by GitHub
commit f8de2ec935
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(())