Skip to content

Commit 7541220

Browse files
authored
Fix macOS deminiaturize (rust-windowing#3054)
1 parent 7e11912 commit 7541220

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
@@ -13,6 +13,7 @@ And please only add new entries to the top of this list, right below the `# Unre
1313
- 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.
1414
- On Web, never return a `MonitorHandle`.
1515
- **Breaking:** Move `Event::RedrawRequested` to `WindowEvent::RedrawRequested`.
16+
- On macOS, fix crash in `window.set_minimized(false)`.
1617

1718
# 0.29.1-beta
1819

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)