jdk/src/solaris/classes/sun/awt/X11/XWindow.java
changeset 4256 24d614d4764a
parent 2810 fa49c6a06baf
child 4259 b41995ac0c17
equal deleted inserted replaced
4255:69e00373e85b 4256:24d614d4764a
  1508     protected XAtomList getWMProtocols() {
  1508     protected XAtomList getWMProtocols() {
  1509         // No protocols on simple window
  1509         // No protocols on simple window
  1510         return new XAtomList();
  1510         return new XAtomList();
  1511     }
  1511     }
  1512 
  1512 
       
  1513     /**
       
  1514      * Indicates if the window is currently in the FSEM.
       
  1515      * Synchronization: state lock.
       
  1516      */
       
  1517     private boolean fullScreenExclusiveModeState = false;
       
  1518 
       
  1519     // Implementation of the X11ComponentPeer
       
  1520     @Override
       
  1521     public void setFullScreenExclusiveModeState(boolean state) {
       
  1522         synchronized (getStateLock()) {
       
  1523             fullScreenExclusiveModeState = state;
       
  1524         }
       
  1525     }
       
  1526 
       
  1527     public final boolean isFullScreenExclusiveMode() {
       
  1528         synchronized (getStateLock()) {
       
  1529             return fullScreenExclusiveModeState;
       
  1530         }
       
  1531     }
       
  1532 
  1513 }
  1533 }