# gpui: Fix hide titlebar on Windows, with \`titlebar: None\` option \(\#13975\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ae414e21f029a841989ccfb228f003691311e257

Requested commit: ae414e21f029a841989ccfb228f003691311e257

Commit: ae414e21f029a841989ccfb228f003691311e257

Tree: 860709e26277ffa38c3451641a8b88b7791c73ae

Author: Jason Lee

Committer: GitHub

## Message

````
gpui: Fix hide titlebar on Windows, with `titlebar: None` option (#13975)

Release Notes:

- N/A

Ref the macOS Window:

When the `titlebar` is none, the titlebar should be hidden.


https://github.com/zed-industries/zed/blob/adaa4831766cde63b408909cf65cdeb1641e5888/crates/gpui/src/platform/mac/window.rs#L516-L528

```
cargo run -p gpui --example window_positioning
```

## Before


![img_v3_02ck_939c23d0-acc6-40c1-aaf7-c6dd73ddf7ag](https://github.com/zed-industries/zed/assets/5518/f2c7aa02-a102-4f24-8243-74219957d16b)

## After

<img width="466" alt="image"
src="https://github.com/zed-industries/zed/assets/5518/176ce4ea-14e9-44c8-8f2d-01e20ff3e543">
````

## Parents

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

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