Hello,
Please review the fix for jdk9.

Toolkit.getSreenSize() returns the size which is different from the size of the 
main screen(as it is specified).

Since jdk5 on linux it is return the size of the virtual screen(which includes 
all displays) in pixels. It was discussed in JDK-XXXXXXX, but since support of 
HiDPI was introduced it is return something different: «the size of the virtual 
screen in pixels divide by the scale factor of the main screen». So right now 
the result of this method does not match to the virtual screen size in the 
users space, it also does not match the size of the virtual screen in pixels, 
and also does not match to the size of the main screen.

This is a request to unify behavior of such methods between linux/windows/macOS 
in multi-screen environment.

No new issues were found by jtreg/jck.

Bug: https://bugs.openjdk.java.net/browse/JDK-8168307
Webrev can be found at: http://cr.openjdk.java.net/~serb/8168307/webrev.01

Reply via email to