8131752: [Regression] Test java/awt/GraphicsDevice/CheckDisplayModes.java fails

Reviewed-by: alexsch, serb
This commit is contained in:
Alexander Zvegintsev 2015-07-23 15:12:32 +03:00
parent e56a9c2393
commit 4c121563fb

View File

@ -316,6 +316,7 @@ public final class X11GraphicsDevice extends GraphicsDevice
@Override
public boolean isDisplayChangeSupported() {
return (isFullScreenSupported()
&& (getFullScreenWindow() != null)
&& !((X11GraphicsEnvironment) GraphicsEnvironment
.getLocalGraphicsEnvironment()).runningXinerama());
}