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