mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-23 21:30:26 +00:00
8131752: [Regression] Test java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: alexsch, serb
This commit is contained in:
parent
e56a9c2393
commit
4c121563fb
@ -316,6 +316,7 @@ public final class X11GraphicsDevice extends GraphicsDevice
|
||||
@Override
|
||||
public boolean isDisplayChangeSupported() {
|
||||
return (isFullScreenSupported()
|
||||
&& (getFullScreenWindow() != null)
|
||||
&& !((X11GraphicsEnvironment) GraphicsEnvironment
|
||||
.getLocalGraphicsEnvironment()).runningXinerama());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user