jdk/src/solaris/classes/sun/awt/X11/XWM.java
changeset 2472 b7aba00cabb6
parent 439 3488710b02f8
child 2802 d05a9dcc8296
equal deleted inserted replaced
2471:71401ceec494 2472:b7aba00cabb6
   894     }
   894     }
   895 
   895 
   896     /*
   896     /*
   897      * Set MWM decorations.  Set MWM functions depending on resizability.
   897      * Set MWM decorations.  Set MWM functions depending on resizability.
   898      */
   898      */
   899     static void setMotifDecor(XWindowPeer window, boolean resizable, int decorations, int functions) {
   899     static void setMotifDecor(XWindow window, boolean resizable, int decorations, int functions) {
   900         /* Apparently some WMs don't implement MWM_*_ALL semantic correctly */
   900         /* Apparently some WMs don't implement MWM_*_ALL semantic correctly */
   901         if ((decorations & MWMConstants.MWM_DECOR_ALL) != 0
   901         if ((decorations & MWMConstants.MWM_DECOR_ALL) != 0
   902             && (decorations != MWMConstants.MWM_DECOR_ALL))
   902             && (decorations != MWMConstants.MWM_DECOR_ALL))
   903         {
   903         {
   904             decorations = normalizeMotifDecor(decorations);
   904             decorations = normalizeMotifDecor(decorations);