mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04:00
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:
committed by
Francesca Frangipane
parent
2477d8ce46
commit
19cd53193b
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user