--- 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;
+ }
+ }
+
}