Discard mouse down after Cocoa window resize (#466)
* Discard mouse down after Cocoa window resize We are sending the mouse down event after the window resize has completed, because Cocoa uses a modal event loop to implement window resize. This leads to a mouse down without a matching mouse up. * Also handle event discard in poll_events Add some explanatory comments and a changelog entry.
This commit is contained in:
parent
2477d8ce46
commit
19cd53193b
3 changed files with 30 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
- Implemented `Refresh` event on Windows.
|
||||
- Properly calculate the minimum and maximum window size on Windows, including window decorations.
|
||||
- Map more `MouseCursor` variants to cursor icons on Windows.
|
||||
- Discard the stray mouse down event being delivered after window resize on macOS.
|
||||
|
||||
# Version 0.12.0 (2018-04-06)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue