diff options
| author | Alan Third | 2018-12-01 13:37:37 +0000 |
|---|---|---|
| committer | Alan Third | 2018-12-01 16:41:03 +0000 |
| commit | 4b176eb86361cff94a223225e8b852adb1accc50 (patch) | |
| tree | c877f943d6a4791ea85af6f96edfbe77d71a8b8e /src | |
| parent | c03574b477f7af6919797fde3e9410901c7675e1 (diff) | |
| download | emacs-4b176eb86361cff94a223225e8b852adb1accc50.tar.gz emacs-4b176eb86361cff94a223225e8b852adb1accc50.zip | |
Fix macOS run-time feature check
* src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time
feature check.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 948dd1da2e1..893bb1b4414 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -1891,7 +1891,7 @@ x_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_valu | |||
| 1891 | [[child parentWindow] removeChildWindow:child]; | 1891 | [[child parentWindow] removeChildWindow:child]; |
| 1892 | #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 101000 | 1892 | #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 101000 |
| 1893 | #if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 | 1893 | #if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 |
| 1894 | if ([child respondsToSelector:@selector(setAccessibilitySubrole:)] | 1894 | if ([child respondsToSelector:@selector(setAccessibilitySubrole:)]) |
| 1895 | #endif | 1895 | #endif |
| 1896 | [child setAccessibilitySubrole:NSAccessibilityStandardWindowSubrole]; | 1896 | [child setAccessibilitySubrole:NSAccessibilityStandardWindowSubrole]; |
| 1897 | #endif | 1897 | #endif |
| @@ -1905,7 +1905,7 @@ x_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_valu | |||
| 1905 | ordered: NSWindowAbove]; | 1905 | ordered: NSWindowAbove]; |
| 1906 | #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 101000 | 1906 | #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 101000 |
| 1907 | #if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 | 1907 | #if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 |
| 1908 | if ([child respondsToSelector:@selector(setAccessibilitySubrole:)] | 1908 | if ([child respondsToSelector:@selector(setAccessibilitySubrole:)]) |
| 1909 | #endif | 1909 | #endif |
| 1910 | [child setAccessibilitySubrole:NSAccessibilityFloatingWindowSubrole]; | 1910 | [child setAccessibilitySubrole:NSAccessibilityFloatingWindowSubrole]; |
| 1911 | #endif | 1911 | #endif |