From 08a99bbef48775da3e3e83f3ae0556a542074cdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Sat, 3 Aug 2024 10:29:24 +0200 Subject: [PATCH] NS: Fix placement of candidate window (bug#72422) * src/nsterm.m ([EmacsView firstRectForCharacterRange:actualRange:]): Call method of NSTextInput. (cherry picked from commit e539a5c7d79b76eb16eed4cb5da4c3a531a640b4) --- src/nsterm.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index b56c587bc69..b883e605a5b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -7064,7 +7064,7 @@ ns_create_font_panel_buttons (id target, SEL select, SEL cancel_action) - (NSRect) firstRectForCharacterRange: (NSRange) range actualRange: (nullable NSRangePointer) actualRange { - return NSZeroRect; + return [self firstRectForCharacterRange: range]; } #endif /* NS_IMPL_COCOA */ -- 2.39.2