jdk/src/solaris/classes/sun/awt/X11/XWindow.java
changeset 4285 aba524fe54db
parent 4214 0fa32d38146b
parent 4259 b41995ac0c17
child 4371 dc9dcb8b0ae7
--- a/jdk/src/solaris/classes/sun/awt/X11/XWindow.java	Tue Nov 17 10:25:19 2009 -0800
+++ b/jdk/src/solaris/classes/sun/awt/X11/XWindow.java	Tue Nov 24 18:12:46 2009 -0800
@@ -1509,4 +1509,24 @@
         return new XAtomList();
     }
 
+    /**
+     * Indicates if the window is currently in the FSEM.
+     * Synchronization: state lock.
+     */
+    private boolean fullScreenExclusiveModeState = false;
+
+    // Implementation of the X11ComponentPeer
+    @Override
+    public void setFullScreenExclusiveModeState(boolean state) {
+        synchronized (getStateLock()) {
+            fullScreenExclusiveModeState = state;
+        }
+    }
+
+    public final boolean isFullScreenExclusiveMode() {
+        synchronized (getStateLock()) {
+            return fullScreenExclusiveModeState;
+        }
+    }
+
 }