Windows: Fix panic when calling set_fullscreen(None) (#502)
* Windows: Fix panic for set_fullscreen(None) (#501) * Add condition to prevent panic Trying to call set_fullscreen(None) on a window that has never been in fullscreen mode caused a panic before this change. The responsible method now simply checks if this precondition is met and returns (does nothing) otherwise. * Add entry to CHANGELOG * Add platform specification to CHANGELOG entry Forgot to add that the to_fullscreen(None) bugfix is Windows only in CHANGELOG.
This commit is contained in:
parent
102dd07456
commit
363261077f
2 changed files with 8 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
- Rework of the wayland backend, migrating it to use [Smithay's Client Toolkit](https://github.com/Smithay/client-toolkit).
|
||||
- Added `WindowBuilder::with_window_icon` and `Window::set_window_icon`, finally making it possible to set the window icon on Windows and X11. The `icon_loading` feature can be enabled to allow for icons to be easily loaded; see example program `window_icon.rs` for usage.
|
||||
- Windows additionally has `WindowBuilderExt::with_taskbar_icon` and `WindowExt::set_taskbar_icon`.
|
||||
- On Windows, fix panic when trying to call `set_fullscreen(None)` on a window that has not been fullscreened prior.
|
||||
|
||||
# Version 0.13.1 (2018-04-26)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue