Skip to content

Commit 2d9b852

Browse files
madsmtmkchibisov
authored andcommitted
Fix macOS deminiaturize (#3054)
1 parent 246d53d commit 2d9b852

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ And please only add new entries to the top of this list, right below the `# Unre
1414
- 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.
1515
- On Web, never return a `MonitorHandle`.
1616
- **Breaking:** Move `Event::RedrawRequested` to `WindowEvent::RedrawRequested`.
17+
- On macOS, fix crash in `window.set_minimized(false)`.
1718

1819
# 0.29.1-beta
1920

src/platform_impl/macos/appkit/window.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ extern_methods!(
124124
#[method(miniaturize:)]
125125
pub(crate) fn miniaturize(&self, sender: Option<&AnyObject>);
126126

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

130130
#[method(toggleFullScreen:)]

0 commit comments

Comments
 (0)