## Context This PR adds a function to sync up the title bar state if a workspace is moved to a new window through the threads sidebar. This is needed because otherwise the padding for the traffic control buttons on macOS wasn't being taken into consideration. ## How to Review - Move a project to a new window from the sidebar - See that the title bar for that new window looks normal, as it should --- - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - N/A
1 file changedLine totals unavailable