# windows: Add back \`hide_title_bar\` checks \(\#32427\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4c3ada57538a3e358d19130e99db51187e61bd1f

Requested commit: 4c3ada57538a3e358d19130e99db51187e61bd1f

Commit: 4c3ada57538a3e358d19130e99db51187e61bd1f

Tree: a02c912ef6f7c8d5c139944e4e73f82b3b811259

Author: 张小白

Committer: GitHub

## Message

```
windows: Add back `hide_title_bar` checks (#32427)

These `if` condition checks were removed in #30828, and this PR adds
them back. This is especially important in the handling of
`WM_NCHITTEST`, where all the calculations are based on the assumption
that `hide_title_bar = true`.


Release Notes:

- N/A
```

## Parents

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

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