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.
>> 
>> ![image](https://github.com/user-attachments/assets/05568b82-3602-48d0-acf1-65aabc8a316b)
>> 
>> ![image](https://github.com/user-attachments/assets/14d29bc3-9e57-47c3-b573-f08871306c69)
>
> 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

Reply via email to