# Revert "windows: better looking titlebar" and follow-up \(\#9392\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5bf0c8ed2d9519480da277817b752d05ef4c00ef

Requested commit: 5bf0c8ed2d9519480da277817b752d05ef4c00ef

Commit: 5bf0c8ed2d9519480da277817b752d05ef4c00ef

Tree: 6255c38878c716ec78ab737ae7a846bc5ed20c41

Author: Thorsten Ball

Committer: GitHub

## Message

```
Revert "windows: better looking titlebar" and follow-up (#9392)

This reverts #9053 and #9375 because they introduced a regression on
`main` that broke the titlebars on macOS:


![image](https://github.com/zed-industries/zed/assets/1185253/d046003b-5c66-4a42-9385-623f5d58c9a4)

Two things are off:

- Left padding is missing
- Titlebar height is less than it was before, which means the
traffic-light buttons are not centered vertically

What @as-cii and I noticed while looking into this: the `cfg!(macos)`
macros that were used don't work like that. You need to check for
`cfg!(target = "macos")` etc. Means that on macOS we never used the
macOS-specific code because the condition was always false.

Overall height, we're not sure about.

Release Notes:

- N/A
```

## Parents

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

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