changeset 11027:684aa5c912be

8131752: [Regression] Test java/awt/GraphicsDevice/CheckDisplayModes.java fails Reviewed-by: alexsch, serb
author azvegint
date Thu, 23 Jul 2015 15:12:32 +0300
parents dc942b8a6680
children d8210091911b
files src/solaris/classes/sun/awt/X11GraphicsDevice.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11GraphicsDevice.java	Thu Jul 23 15:55:11 2015 +0300
+++ b/src/solaris/classes/sun/awt/X11GraphicsDevice.java	Thu Jul 23 15:12:32 2015 +0300
@@ -318,6 +318,7 @@
     @Override
     public boolean isDisplayChangeSupported() {
         return (isFullScreenSupported()
+                && (getFullScreenWindow() != null)
                 && !((X11GraphicsEnvironment) GraphicsEnvironment
                         .getLocalGraphicsEnvironment()).runningXinerama());
     }