Blender Git Commit Log

Git Commits -> Revision 2d0b9fa

Revision 2d0b9fa by Yuki Hashimoto (master)
July 5, 2021, 12:32 (GMT)
Fix: IME conversion candidate window not correctly placed on macOS

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

In macOS, there are displays where the window size and the native pixel size
are different, so the candidate window may appear in an unnatural position.

This patch converts the cursor position x and y for matching macOS window
coordinate. On Windows, GHOST_GetNativePixelSize returns 1, so it has no effect.

Differential Revision:

Commit Details:

Full Hash: 2d0b9faaf6ec63e6d782c09f6ebb4758737d7b8f
Parent Commit: 32124b9
Committed By: Brecht Van Lommel
Lines Changed: +4, -0

1 Modified Path:

/source/blender/windowmanager/intern/wm_window.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021