# windows: Fix and simplify title bar padding \(\#13420\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 68b5ea4e606acd3ca94b0d0fe3548191705d8ce2

Requested commit: 68b5ea4e606acd3ca94b0d0fe3548191705d8ce2

Commit: 68b5ea4e606acd3ca94b0d0fe3548191705d8ce2

Tree: 8d77acec84a50143466a4dbb98b3d98fd2fc759a

Author: Matin Aniss

Committer: GitHub

## Message

```
windows: Fix and simplify title bar padding (#13420)

This PR fixes the off by one pixel of the top client rect when not
maximized due to the added border. It also simplifies and properly fixes
the title bar padding problem when maximized, it is now properly taken
care of in GPUI rather then adding the padding in the UI.

Release Notes:

- N/A
```

## Parents

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

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