mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Fix macOS deminiaturize (#3054)
This commit is contained in:
parent
7e11912d22
commit
7541220a41
|
@ -13,6 +13,7 @@ And please only add new entries to the top of this list, right below the `# Unre
|
||||||
- On Web, `ControlFlow::Poll` and `ControlFlow::WaitUntil` are now using the Prioritized Task Scheduling API. `setTimeout()` with a trick to circumvent throttling to 4ms is used as a fallback.
|
- On Web, `ControlFlow::Poll` and `ControlFlow::WaitUntil` are now using the Prioritized Task Scheduling API. `setTimeout()` with a trick to circumvent throttling to 4ms is used as a fallback.
|
||||||
- On Web, never return a `MonitorHandle`.
|
- On Web, never return a `MonitorHandle`.
|
||||||
- **Breaking:** Move `Event::RedrawRequested` to `WindowEvent::RedrawRequested`.
|
- **Breaking:** Move `Event::RedrawRequested` to `WindowEvent::RedrawRequested`.
|
||||||
|
- On macOS, fix crash in `window.set_minimized(false)`.
|
||||||
|
|
||||||
# 0.29.1-beta
|
# 0.29.1-beta
|
||||||
|
|
||||||
|
|
|
@ -124,7 +124,7 @@ extern_methods!(
|
||||||
#[method(miniaturize:)]
|
#[method(miniaturize:)]
|
||||||
pub(crate) fn miniaturize(&self, sender: Option<&AnyObject>);
|
pub(crate) fn miniaturize(&self, sender: Option<&AnyObject>);
|
||||||
|
|
||||||
#[method(sender:)]
|
#[method(deminiaturize:)]
|
||||||
pub(crate) fn deminiaturize(&self, sender: Option<&AnyObject>);
|
pub(crate) fn deminiaturize(&self, sender: Option<&AnyObject>);
|
||||||
|
|
||||||
#[method(toggleFullScreen:)]
|
#[method(toggleFullScreen:)]
|
||||||
|
|
Loading…
Reference in a new issue