1 parent
5f612c17f5
commit
4c847ff4ff
2 files changed
+1
-3
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user