workspace: Respect minimized state when deserializing workspaces (#24127)

Fixes a regression from #24015 pointed out in #24093

Closes #24093

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-02-03 12:35:16 +00:00
committed by GitHub
parent f45d58f01a
commit 6b48a6e690
3 changed files with 3 additions and 4 deletions
+1 -4
View File
@@ -1284,10 +1284,7 @@ impl Workspace {
.unwrap_or_default();
window
.update(&mut cx, |_, window, cx| {
window.activate_window();
cx.activate(true);
})
.update(&mut cx, |_, window, _| window.activate_window())
.log_err();
Ok((window, opened_items))
})