On Wayland, disable Occluded handling
Change in state requires a redraw, however drawing when getting `Occluded` with vsync will block indefinitely, thus the event in it's current state is rather useless. To solve this issue winit needs a way to determine whether the user paused/continued their render loop, so it can commit on their behalf. This commit also forces redraw when getting configure. Links: https://github.com/rust-windowing/winit/issues/3442
This commit is contained in:
parent
f526a47152
commit
ff731197dc
4 changed files with 16 additions and 24 deletions
|
|
@ -38,6 +38,7 @@ Unreleased` header.
|
|||
- On Windows, Remove `WS_CAPTION`, `WS_BORDER` and `WS_EX_WINDOWEDGE` styles for child windows without decorations.
|
||||
- On Windows, fixed a race condition when sending an event through the loop proxy.
|
||||
- **Breaking:** Removed `EventLoopError::AlreadyRunning`, which can't happen as it is already prevented by the type system.
|
||||
- On Wayland, disable `Occluded` event handling.
|
||||
|
||||
# 0.29.10
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue