jdk/src/solaris/classes/sun/awt/X11/XFocusProxyWindow.java
changeset 3938 ef327bd847c0
parent 439 3488710b02f8
child 4214 0fa32d38146b
equal deleted inserted replaced
3934:487e1aa949c4 3938:ef327bd847c0
    24  */
    24  */
    25 
    25 
    26 package sun.awt.X11;
    26 package sun.awt.X11;
    27 
    27 
    28 import java.awt.*;
    28 import java.awt.*;
    29 import java.util.logging.*;
       
    30 
    29 
    31 /**
    30 /**
    32  * This class represent focus holder window implementation. When toplevel requests or receives focus
    31  * This class represent focus holder window implementation. When toplevel requests or receives focus
    33  * it instead sets focus to this proxy. This proxy is mapped but invisible(it is kept at (-1,-1))
    32  * it instead sets focus to this proxy. This proxy is mapped but invisible(it is kept at (-1,-1))
    34  * and therefore X doesn't control focus after we have set it to proxy.
    33  * and therefore X doesn't control focus after we have set it to proxy.
    35  */
    34  */
    36 public class XFocusProxyWindow extends XBaseWindow {
    35 public class XFocusProxyWindow extends XBaseWindow {
    37     private static final Logger focusLog = Logger.getLogger("sun.awt.X11.focus.XFocusProxyWindow");
       
    38     XWindowPeer owner;
    36     XWindowPeer owner;
    39 
    37 
    40     public XFocusProxyWindow(XWindowPeer owner) {
    38     public XFocusProxyWindow(XWindowPeer owner) {
    41         super(new XCreateWindowParams(new Object[] {
    39         super(new XCreateWindowParams(new Object[] {
    42             BOUNDS, new Rectangle(-1, -1, 1, 1),
    40             BOUNDS, new Rectangle(-1, -1, 1, 1),