On Sun, 18 Aug 2024 21:33:46 GMT, Martin Fox <m...@openjdk.org> wrote:
>> I tested on both XWayland and Xorg. They are never negative. >> >> The input method window did always pop up on the right place. >> >>  >> >>  > > Interesting. I just did a quick test on the Mac and verified that either > coordinate can go negative. There must be a difference in the way the > platform's model multiple monitors. on mac and windows the coordinates can be negative, depending on the screen arrangement. why do we need to rely on the fact that `pos[]` values are positive anyway? ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1722063195