<AWT Dev> <Awt Dev> [9] Review Request for 8145784: https://bugs.openjdk.java.net/browse/JDK-8145784
Semyon Sadetsky
semyon.sadetsky at oracle.com
Wed Dec 23 14:48:44 UTC 2015
The fix was changed because it is not possible to get individual screen
windows under Xinerama correctly.
Please, review the updated solution:
http://cr.openjdk.java.net/~ssadetsky/8145784/webrev.01/
The pointer moment coordinates are changed to be relative to the origin
of the chosen screen.
--Semyon
On 12/23/2015 1:41 PM, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
> bug: https://bugs.openjdk.java.net/browse/JDK-8145784
> webrev: http://cr.openjdk.java.net/~ssadetsky/8145784/webrev.00/
>
> Robot used wrong root window for the mouse move because when the
> Xinerama is on JDK treats multiple screens as a single joint root
> window, and screen number obtained from the graphics config is always
> 0. So mouse could not leave the main screen using AWT robot.
> Solution: take the correct screen number from the device object.
>
> --Semyon
More information about the awt-dev
mailing list