On Wed, 27 Dec 2023 00:01:10 GMT, Martin Fox <m...@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).

Looks good. Tested on macOS 14.2.1 with dual monitors.

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

Marked as reviewed by kcr (Lead).

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

Reply via email to