mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 14:50:04 -04:00
subclass windows in macos so they can be made resizable even with no decorations (#408)
* make windows without decorations resizable and movable in macos
fixes #368
The subclassing logic was copied from servo's fork of glutin:
63026a0f4c/src/api/cocoa/mod.rs (L418)
* remove `isMovableByWindowBackground` and `mouseDownCanMoveWindow`
* revert example changes
* remove resizable mask from decoration: false
* avoid duplicate class declarations
* update changelog
* fix changelog
* changelog whitespace
This commit is contained in:
committed by
Francesca Frangipane
parent
0b922ad9c0
commit
be6d2ed3b9
@@ -1,5 +1,7 @@
|
||||
# Unreleased
|
||||
|
||||
- Added subclass to macos windows so they can be made resizable even with no decorations.
|
||||
|
||||
# Version 0.11.3 (2018-03-28)
|
||||
|
||||
- Added `set_min_dimensions` and `set_max_dimensions` methods to `Window`, and implemented on Windows, X11, Wayland, and OSX.
|
||||
|
||||
Reference in New Issue
Block a user