# windows: Create window with correct size \(\#14218\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6eeec9b403a6d32788a00029d5c3e7a4a17f4629

Requested commit: 6eeec9b403a6d32788a00029d5c3e7a4a17f4629

Commit: 6eeec9b403a6d32788a00029d5c3e7a4a17f4629

Tree: a0da6e66e11e1b3eebec759bd06c39cd80c7a8f7

Author: 张小白

Committer: GitHub

## Message

```
windows: Create window with correct size (#14218)

The `Bounds<DevicePixels>` we use to create a window represents the size
of the drawable area.

### Before:



https://github.com/zed-industries/zed/assets/14981363/52f0d196-b113-4b64-a0d1-407972674990

### After



https://github.com/zed-industries/zed/assets/14981363/83298b6c-5e5f-4a47-b051-35b4a02404ac



Release Notes:

- N/A
```

## Parents

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

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