window: remove now-dead bits on macos

refs: #770
This commit is contained in:
Wez Furlong committed 2021-05-08 14:12:30 -07:00
1 parent 5f612c17f5
commit 4c847ff4ff
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -6,8 +6,6 @@ use crate::connection::ConnectionOps;
use crate::spawn::*;
use cocoa::appkit::{NSApp, NSApplication, NSApplicationActivationPolicyRegular};
use cocoa::base::{id, nil};
use core_foundation::date::CFAbsoluteTimeGetCurrent;
use core_foundation::runloop::*;
use objc::*;
use std::cell::RefCell;
use std::collections::HashMap;
+1 -1
View File
@@ -535,7 +535,7 @@ impl WindowOps for Window {
Some(h) => h,
None => return,
};
let mut inner = handle.borrow_mut();
let inner = handle.borrow();
if let Some(window_view) = WindowView::get_this(unsafe { &**inner.view }) {
window_view
.inner