jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java
changeset 18249 aec7e8963c3e
parent 18247 7a7c8e3b3917
parent 17147 e1cd5c92e81c
child 18275 9e7a5558965d
equal deleted inserted replaced
18248:108d0c7b60f9 18249:aec7e8963c3e
  1884         XAtom typeAtom = null;
  1884         XAtom typeAtom = null;
  1885 
  1885 
  1886         switch (getWindowType())
  1886         switch (getWindowType())
  1887         {
  1887         {
  1888             case NORMAL:
  1888             case NORMAL:
  1889                 typeAtom = protocol.XA_NET_WM_WINDOW_TYPE_NORMAL;
  1889                 typeAtom = (ownerPeer == null) ?
       
  1890                                protocol.XA_NET_WM_WINDOW_TYPE_NORMAL :
       
  1891                                protocol.XA_NET_WM_WINDOW_TYPE_DIALOG;
  1890                 break;
  1892                 break;
  1891             case UTILITY:
  1893             case UTILITY:
  1892                 typeAtom = protocol.XA_NET_WM_WINDOW_TYPE_UTILITY;
  1894                 typeAtom = protocol.XA_NET_WM_WINDOW_TYPE_UTILITY;
  1893                 break;
  1895                 break;
  1894             case POPUP:
  1896             case POPUP: