src/solaris/classes/sun/awt/X11/XWindowPeer.java

Print this page
rev 6882 : fix of 8012586

*** 1,7 **** /* ! * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 1885,1895 **** XAtom typeAtom = null; switch (getWindowType()) { case NORMAL: ! typeAtom = protocol.XA_NET_WM_WINDOW_TYPE_NORMAL; break; case UTILITY: typeAtom = protocol.XA_NET_WM_WINDOW_TYPE_UTILITY; break; case POPUP: --- 1885,1897 ---- XAtom typeAtom = null; switch (getWindowType()) { case NORMAL: ! typeAtom = (ownerPeer == null) ? ! protocol.XA_NET_WM_WINDOW_TYPE_NORMAL : ! protocol.XA_NET_WM_WINDOW_TYPE_DIALOG; break; case UTILITY: typeAtom = protocol.XA_NET_WM_WINDOW_TYPE_UTILITY; break; case POPUP: