Blender Git Loki

Git Commits -> Revision ac1ed19

Revision ac1ed19 by Yuki Hashimoto (master)
July 5, 2021, 15:20 (GMT)
Fix: macOS wrong IME candidate window position on first display

IME conversion candidate window was displayed at the mouse position, instead of
below the cursor or text selection.

Blender need to tell the input method program where the conversion candidate
window is during Japanese and Chinese input.

In macOS, the `firstRectforCharacterRange` is called when input by the input
method starts, and the position of the conversion candidate window is
specified. Therefore, it is necessary to set the position of the conversion
candidate window before input starts. This patch changes it so that the position
of the conversion candidate window is always set when the cursor is drawn.

Differential Revision: https://developer.blender.org/D11697

Commit Details:

Full Hash: ac1ed19eaefe356a1ae2ff3bfb471f940231ce06
Parent Commit: 673c254
Committed By: Brecht Van Lommel
Lines Changed: +38, -11

1 Modified Path:

/source/blender/editors/interface/interface_widgets.c (+38, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021