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

Andy Goryachev angorya at openjdk.org
Tue Jan 9 01:25:31 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).

thank you for clarification!
looks good - tested with 1 external monitor and no external monitor.

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

Marked as reviewed by angorya (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1313#pullrequestreview-1810268503


More information about the openjfx-dev mailing list