# Apply bounds to all windows when using start-local-collaboration script \(\#2570\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/398b0f303cd461cfbaab8a93b48ae31da425bd9f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 398b0f303cd461cfbaab8a93b48ae31da425bd9f

Requested commit: 398b0f303cd461cfbaab8a93b48ae31da425bd9f

Commit: 398b0f303cd461cfbaab8a93b48ae31da425bd9f

Tree: 165b80a3ca2c2952e52680e388c89f7f54682176

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Apply bounds to all windows when using start-local-collaboration script (#2570)

The `start-local-collaboration` script opens two instances of Zed, each
logged in as a different user, and each one taking up half of the
screen. But previously, when joining a remote project as one of the
collaborators, that newly-opened window would be full screen.

Now, each instance of Zed keeps *all* of its windows on its half of the
screen. This is implemented by respecting the `ZED_WINDOW_{SIZE,BOUNDS}`
env vars, even when joining *remote* projects.

Release Notes:

- N/A
```

## Parents

- [571151173c0abddb1767df9e8c57ddd1c2a23766](https://git.cafe/gitcafe/zed/commit/571151173c0abddb1767df9e8c57ddd1c2a23766?format=markdown)

- [3d1ba1b36365990bd2743a347b15f81ced8387d5](https://git.cafe/gitcafe/zed/commit/3d1ba1b36365990bd2743a347b15f81ced8387d5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/398b0f303cd461cfbaab8a93b48ae31da425bd9f?format=markdown)
