jdk/src/solaris/classes/sun/awt/X11/XEmbedCanvasPeer.java
changeset 2802 d05a9dcc8296
parent 439 3488710b02f8
child 3938 ef327bd847c0
equal deleted inserted replaced
2760:f038acdbdf9c 2802:d05a9dcc8296
   299     Rectangle getClientBounds() {
   299     Rectangle getClientBounds() {
   300         XToolkit.awtLock();
   300         XToolkit.awtLock();
   301         try {
   301         try {
   302             XWindowAttributes wattr = new XWindowAttributes();
   302             XWindowAttributes wattr = new XWindowAttributes();
   303             try {
   303             try {
   304                 XToolkit.WITH_XERROR_HANDLER(XToolkit.IgnoreBadWindowHandler);
   304                 XToolkit.WITH_XERROR_HANDLER(XErrorHandler.IgnoreBadWindowHandler.getInstance());
   305                 int status = XlibWrapper.XGetWindowAttributes(XToolkit.getDisplay(),
   305                 int status = XlibWrapper.XGetWindowAttributes(XToolkit.getDisplay(),
   306                                                               xembed.handle, wattr.pData);
   306                                                               xembed.handle, wattr.pData);
   307 
   307 
   308                 XToolkit.RESTORE_XERROR_HANDLER();
   308                 XToolkit.RESTORE_XERROR_HANDLER();
   309 
   309