static void removeSizeHints(XDecoratedPeer window,long mask){
  mask&=XUtilConstants.PMaxSize | XUtilConstants.PMinSize;
  XToolkit.awtLock();
  try {
    XSizeHints hints=window.getHints();
    if ((hints.get_flags() & mask) == 0) {
      return;
    }
    hints.set_flags(hints.get_flags() & ~mask);
    if (insLog.isLoggable(PlatformLogger.Level.FINER)) {
      insLog.finer("Setting hints, flags " + XlibWrapper.hintsToString(hints.get_flags()));
    }
    XlibWrapper.XSetWMNormalHints(XToolkit.getDisplay(),window.getWindow(),hints.pData);
  }
  finally {
    XToolkit.awtUnlock();
  }
}

static void removeSizeHints ( XDecoratedPeer window , long mask ) { mask &= XUtilConstants . PMaxSize | XUtilConstants . PMinSize ; XToolkit . awtLock ( ) ; try { XSizeHints hints = window . getHints ( ) ; if ( ( hints . get_flags ( ) & mask ) == 0 ) { return ; } hints . set_flags ( hints . get_flags ( ) & ~ mask ) ; if ( insLog . isLoggable ( PlatformLogger . Level . FINER ) ) { insLog . finer ( "Setting hints, flags " + XlibWrapper . hintsToString ( hints . get_flags ( ) ) ) ; } XlibWrapper . XSetWMNormalHints ( XToolkit . getDisplay ( ) , window . getWindow ( ) , hints . pData ) ; } finally { XToolkit . awtUnlock ( ) ; } }
\ size and decoration hints . . . \
