Refactor win32 window state code (#730)
* Overhaul win32 window state * Fix warnings * Add CHANGELOG entry * Rephrase CHANGELOG entries * Fix 1.28.0 build * Remove WS_POPUP styling * Slight style correction * Make set_maximized work * Fix rect restore not working after winit set_maximized call * Add a few comments
This commit is contained in:
parent
c91dfdd6fe
commit
7be1d16263
9 changed files with 661 additions and 608 deletions
|
|
@ -3,6 +3,10 @@
|
|||
- On Wayland, add `set_wayland_theme()` to control client decoration color theme
|
||||
- Added serde serialization to `os::unix::XWindowType`.
|
||||
- **Breaking:** `image` crate upgraded to 0.21. This is exposed as part of the `icon_loading` API.
|
||||
- On Windows, fix malformed function pointer typecast that could invoke undefined behavior.
|
||||
- Refactored Windows state/flag-setting code.
|
||||
- On Windows, hiding the cursor no longer hides the cursor for all Winit windows - just the one `hide_cursor` was called on.
|
||||
- On Windows, cursor grabs used to get perpetually canceled when the grabbing window lost focus. Now, cursor grabs automatically get re-initialized when the window regains focus and the mouse moves over the client area.
|
||||
|
||||
# Version 0.18.1 (2018-12-30)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue