# windows: Fix window close animation \(\#33228\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1a6c1b2159ae1a8d8aaa0e1ddf764ab3d371fd0a

Requested commit: 1a6c1b2159ae1a8d8aaa0e1ddf764ab3d371fd0a

Commit: 1a6c1b2159ae1a8d8aaa0e1ddf764ab3d371fd0a

Tree: 91b95ccb90172d3a23d80a58f25e6a0d8fe31b68

Author: Matin Aniss

Committer: GitHub

## Message

```
windows: Fix window close animation (#33228)

Implements a workaround which removes the `WS_EX_LAYERED` style from the
window right before closing it which seems to fix the window close
animation not playing.

Release Notes:

- N/A
```

## Parents

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

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