[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: RFR: 8301893: IME window position is off on secondary screen
From: Martin Fox <mfox () openjdk ! org>
Date: 2023-12-27 0:04:54
Message-ID: Sodyt72JwQ-p6sqVw6BXRJLAC82RCW9yYIhoqLq3Llw=.16b167d7-7c76-414b-9aa7-89e73d444d1c () github ! com
[Download RAW message or body]
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).
-------------
Commit messages:
- Correctly invert y-coordinate on secondary monitors
Changes: https://git.openjdk.org/jfx/pull/1313/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1313&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8301893
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jfx/pull/1313.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1313/head:pull/1313
PR: https://git.openjdk.org/jfx/pull/1313
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic