<AWT Dev> <Awt Dev> [9] Review Request for 8145784: https://bugs.openjdk.java.net/browse/JDK-8145784

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Dec 23 15:47:23 UTC 2015

   The fix looks good to me.


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

More information about the awt-dev mailing list