jdk/src/solaris/classes/sun/awt/X11/XRootWindow.java
changeset 23286 b0eb66adf69d
parent 5506 202f599c92aa
equal deleted inserted replaced
23285:ae856aaa48b0 23286:b0eb66adf69d
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    44             XToolkit.awtUnlock();
    44             XToolkit.awtUnlock();
    45         }
    45         }
    46     }
    46     }
    47 
    47 
    48     private XRootWindow() {
    48     private XRootWindow() {
    49         super(new XCreateWindowParams(new Object[] {DELAYED, Boolean.TRUE}));
    49         super(new XCreateWindowParams(new Object[] { DELAYED, Boolean.TRUE,
       
    50                                                      EVENT_MASK, XConstants.StructureNotifyMask }));
    50     }
    51     }
    51 
    52 
    52     public void postInit(XCreateWindowParams params){
    53     public void postInit(XCreateWindowParams params){
    53         super.postInit(params);
    54         super.postInit(params);
    54         setWMClass(getWMClass());
    55         setWMClass(getWMClass());