On 21.06.16 12:09, Semyon Sadetsky wrote:
This test has no sense for Xinerama until java supports mode changes for
it.
I have created a bug to migrate getDisplayMode() to the new xrandr api:
https://bugs.openjdk.java.net/browse/JDK-8159953
I am worried since we updated the enumDisplayModes(), but did not
update the getCurrentDisplayMode() which still uses the old code.
I am not sure why it is related to supporting of mode changes, this is
related to what I wrote above about
enumDisplayModes/getCurrentDisplayMode, but if you would like to fix it
separately ok.
To Alexander: It seems that we should update this API for HiDPI? How
DisplayMode is supposed to work in HiDPI?
the list of supported modes changed and my question was: what
happens
when these modes will be passed to setDisplayMode() (of course
modes
and setDisplayMode should be from one GraphicsDevice object).
the same as before the fix.
Actually it seems that setDisplayMode() should not work since
JDK-8131752. probably someday we should change the code in
X11GraphicsDevice.isDisplayChangeSupported(), which skip the xinerama
case.
--
Best regards, Sergey.