From: Gerd Möllmann Date: Sat, 3 Aug 2024 08:29:24 +0000 (+0200) Subject: NS: Fix placement of candidate window (bug#72422) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=08a99bbef48775da3e3e83f3ae0556a542074cdb;p=emacs.git NS: Fix placement of candidate window (bug#72422) * src/nsterm.m ([EmacsView firstRectForCharacterRange:actualRange:]): Call method of NSTextInput. (cherry picked from commit e539a5c7d79b76eb16eed4cb5da4c3a531a640b4) --- 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 */