# windows: More precise handling of \`WM_SETTINGCHANGE\` and appearance updates \(\#33829\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cdb7564d8955282267b0be549baa7837c44a2327

Requested commit: cdb7564d8955282267b0be549baa7837c44a2327

Commit: cdb7564d8955282267b0be549baa7837c44a2327

Tree: 993e4462a933aa7e14dd60cd24094be5aa447376

Author: 张小白

Committer: GitHub

## Message

```
windows: More precise handling of `WM_SETTINGCHANGE` and appearance updates (#33829)

This PR adds more fine-grained handling of the `WM_SETTINGCHANGE`
message.
Plus, we now only trigger the `appearance_changed` callback when the
actual window appearance has changed, rather than calling it every time.


Release Notes:

- N/A
```

## Parents

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

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