On Windows, fix RedrawRequested delivery
When calling `Window::request_redraw` from the `RedrawRequested` handler the `RedrawWindow` won't result in `WM_PAINT` being delivered due since user callback is run before `DefWindowProcW` is called. Track whether the user called `Window::request_redraw` and ask for `RedrawWindow` after running the said function during `WM_PAINT` handling. Fixes #3150.
This commit is contained in:
parent
c0db53a516
commit
98b3508aca
5 changed files with 24 additions and 9 deletions
|
|
@ -41,6 +41,7 @@ And please only add new entries to the top of this list, right below the `# Unre
|
|||
- On macOS, fix assertion when pressing `Globe` key.
|
||||
- On Windows, updated `WM_MOUSEMOVE` to detect when cursor Enter or Leave window client area while captured and send the corresponding events. (#3153)
|
||||
- On macOS, fix crash when accessing tabbing APIs.
|
||||
- On Windows, fix `RedrawRequested` not being delivered when calling `Window::request_redraw` from `RedrawRequested`.
|
||||
|
||||
# 0.29.1-beta
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue