Integrated: 8301893: IME window position is off on secondary screen

Martin Fox mfox at openjdk.org
Tue Jan 9 03:06:32 UTC 2024


On Wed, 27 Dec 2023 00:01:10 GMT, Martin Fox <mfox at openjdk.org> wrote:

> The Mac screen coordinate system is inverted on the y-axis compared to JavaFX so glass needs to flip the y coordinate. IM coordinates are relative to the primary screen which is NSScreen.screens[0], not NSScreen.mainScreen (mainScreen is the screen that contains the window that has focus).

This pull request has now been integrated.

Changeset: 37d7561c
Author:    Martin Fox <mfox at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/37d7561c390f706b9e711dd535580fe5ae76e879
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8301893: IME window position is off on secondary screen

Reviewed-by: kcr, angorya

-------------

PR: https://git.openjdk.org/jfx/pull/1313


More information about the openjfx-dev mailing list