equal
deleted
inserted
replaced
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), |