On Mon, 13 Dec 2021 15:33:48 GMT, Aleksandr Veselov <d...@openjdk.java.net> wrote:
> Use primary screen instead of window main screen to properly convert mouse > position from screen coordinates to window ones. src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/CommonComponentAccessibility.m line 795: > 793: point.y += size.height; > 794: > 795: point.y = [[NSScreen screens][0] frame].size.height - point.y; isn't the objectAtIndex is widely used than [] in our code base? ------------- PR: https://git.openjdk.java.net/jdk/pull/6815