# Use \`DwmFlush\` unconditionally for Windows vsync \(\#39913\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 677d6acc9d49d88901ecc5499937f17c3b2ad470

Requested commit: 677d6acc9d49d88901ecc5499937f17c3b2ad470

Commit: 677d6acc9d49d88901ecc5499937f17c3b2ad470

Tree: 7da2c5b6db873cce8156423121c83f4aeb1e33a3

Author: John Tur

Committer: GitHub

## Message

```
Use `DwmFlush` unconditionally for Windows vsync (#39913)

Closes #36934

I'm still experiencing bugs with the
`DCompositionWaitForCompositorClock` API. Let's back out the support for
now until the fixes are identified and widely available.

`DwmFlush` does various things that aren't just waiting for VSync, so
it's not ideal, but it's not bad enough that it's worth a bigger
refactor right now.

Release Notes:

- N/A
```

## Parents

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

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