diff options
author | Yuki Hashimoto <hzuika> | 2021-07-05 17:46:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-07-05 18:20:05 +0300 |
commit | ac1ed19eaefe356a1ae2ff3bfb471f940231ce06 (patch) | |
tree | d8ef98b5dfe526483158f8f44d26e2a70dadcfaf /intern/ghost | |
parent | 673c254c7d03e932b5f7c352bdf607ed90d53b33 (diff) |
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
Diffstat (limited to 'intern/ghost')
0 files changed, 0 insertions, 0 deletions