The fix looks good to me.
Thanks,
Alexandr.
On 12/23/2015 5:48 PM, Semyon Sadetsky wrote:
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