mirror of
https://github.com/wez/wezterm.git
synced 2024-11-14 03:16:09 +03:00
fix build for intel mac
This commit is contained in:
parent
4e343eb1e5
commit
4cd893335b
@ -702,7 +702,7 @@ impl WindowOps for Window {
|
||||
let main_screen = unsafe { NSScreen::mainScreen(nil) };
|
||||
let has_safe_area_insets: BOOL =
|
||||
unsafe { msg_send![main_screen, respondsToSelector: sel!(safeAreaInsets)] };
|
||||
if has_safe_area_insets {
|
||||
if has_safe_area_insets == YES {
|
||||
#[derive(Debug)]
|
||||
struct NSEdgeInsets {
|
||||
top: CGFloat,
|
||||
|
Loading…
Reference in New Issue
Block a user