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

2024-01-08 Thread Andy Goryachev
On Wed, 27 Dec 2023 00:01:10 GMT, Martin Fox 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

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

2024-01-08 Thread Martin Fox
On Tue, 9 Jan 2024 00:23:23 GMT, Andy Goryachev 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 >> (mai

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

2024-01-08 Thread Martin Fox
On Tue, 9 Jan 2024 00:17:33 GMT, Andy Goryachev 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 >> (mai

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

2024-01-08 Thread Andy Goryachev
On Wed, 27 Dec 2023 00:01:10 GMT, Martin Fox 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

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

2024-01-06 Thread Kevin Rushforth
On Wed, 27 Dec 2023 00:01:10 GMT, Martin Fox 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

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

2024-01-04 Thread Kevin Rushforth
On Wed, 27 Dec 2023 00:01:10 GMT, Martin Fox 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

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

2023-12-26 Thread Martin Fox
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).