src/solaris/classes/sun/awt/X11/XTranslateCoordinates.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 66,76 **** if (__executed) { throw new IllegalStateException("Already executed"); } __executed = true; if (errorHandler != null) { ! XToolkit.WITH_XERROR_HANDLER(errorHandler); } int status = XlibWrapper.XTranslateCoordinates(XToolkit.getDisplay(), get_scr_w(), get_dest_w(), --- 66,76 ---- if (__executed) { throw new IllegalStateException("Already executed"); } __executed = true; if (errorHandler != null) { ! XErrorHandlerUtil.WITH_XERROR_HANDLER(errorHandler); } int status = XlibWrapper.XTranslateCoordinates(XToolkit.getDisplay(), get_scr_w(), get_dest_w(),
*** 78,88 **** get_src_y(), dest_x_ptr, dest_y_ptr, child_ptr ); if (errorHandler != null) { ! XToolkit.RESTORE_XERROR_HANDLER(); } return status; } finally { XToolkit.awtUnlock(); } --- 78,88 ---- get_src_y(), dest_x_ptr, dest_y_ptr, child_ptr ); if (errorHandler != null) { ! XErrorHandlerUtil.RESTORE_XERROR_HANDLER(); } return status; } finally { XToolkit.awtUnlock(); }