# gpui_windows: Check composition attribute lookup \(\#60122\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 23c0080d1dd5e8e550ede91c0d573658e5aabe76

Requested commit: 23c0080d1dd5e8e550ede91c0d573658e5aabe76

Commit: 23c0080d1dd5e8e550ede91c0d573658e5aabe76

Tree: 456041da2a5de861e99ea98236689d21638ddc78

Author: Richard Feldman

Committer: GitHub

## Message

```
gpui_windows: Check composition attribute lookup (#60122)

Checks that SetWindowCompositionAttribute was found before transmuting
and calling the function pointer, making the composition setup a no-op
when the undocumented export is unavailable.

Release Notes:

- N/A
```

## Parents

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

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