nix-config/patches/fix-window-role.patch
larstvei 746ea0f434 Initial commit
Trying out nix on a new machine. I would think the install instructions are
under-specified. We'll see if this will turn out usable.
2022-09-18 18:30:24 +02:00

16 lines
542 B
Diff

diff --git a/src/nsterm.m b/src/nsterm.m
index 6f9b208953..aa6c1d286f 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -8768,7 +8768,7 @@ - (id)accessibilityAttributeValue:(NSString *)attribute
NSTRACE ("[EmacsWindow accessibilityAttributeValue:]");
if ([attribute isEqualToString:NSAccessibilityRoleAttribute])
- return NSAccessibilityTextFieldRole;
+ return NSAccessibilityWindowRole;
if ([attribute isEqualToString:NSAccessibilitySelectedTextAttribute]
&& curbuf && ! NILP (BVAR (curbuf, mark_active)))
--
2.26.2