Skip to content

Commit

Permalink
Fix macOS deminiaturize (#3054)
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm authored and kchibisov committed Oct 21, 2023
1 parent 246d53d commit 2d9b852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,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, never return a `MonitorHandle`.
- **Breaking:** Move `Event::RedrawRequested` to `WindowEvent::RedrawRequested`.
- On macOS, fix crash in `window.set_minimized(false)`.

# 0.29.1-beta

Expand Down
2 changes: 1 addition & 1 deletion src/platform_impl/macos/appkit/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ extern_methods!(
#[method(miniaturize:)]
pub(crate) fn miniaturize(&self, sender: Option<&AnyObject>);

#[method(sender:)]
#[method(deminiaturize:)]
pub(crate) fn deminiaturize(&self, sender: Option<&AnyObject>);

#[method(toggleFullScreen:)]
Expand Down

0 comments on commit 2d9b852

Please sign in to comment.