zed
zed copied to clipboard
windows: Remove using `DCompositionWaitForCompositorClock`
- Zed unreponse after every time windows wake up from sleep, I must closed then reopen.
- I have debug origin implement before #9351, in win11 Zed work well.
- If i remove using
DCompositionWaitForCompositorClock
, everything work well. - I don't known what happened, wake up from sleep this thread not workding. If someone have experience? Or, remove using
DCompositionWaitForCompositorClock
?
Release Notes:
- N/A
cc: @JunkuiZhang
@CharlesChen0823, I'd really like to keep DCompositionWaitForCompositorClock
, as we'd like Zed to vsync whenever possible. Maybe there's a windows message for waking up from sleep?
I conducted some tests and fixed it in #11589. Could you please give it a try to see if it's resolved? It seems to be working fine on my end in #11589 .
Superseded by https://github.com/zed-industries/zed/pull/11589