Skip to content

Commit

Permalink
Remove unnecessary call to window
Browse files Browse the repository at this point in the history
  • Loading branch information
dathinaios committed Mar 19, 2024
1 parent e59a630 commit be6c7e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/macos/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ impl<'a> Window<'a> {
let view = self.inner.ns_view.as_mut().unwrap();
let window: id = msg_send![view, window];
if window != nil {
let _: () = msg_send![window, makeKeyWindow];
msg_send![window, makeFirstResponder:view]
}
}
Expand Down

0 comments on commit be6c7e9

Please sign in to comment.