Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | X11Util/Xmisc setX11ErrorHandler: Force setting X11 error handler if invoked ↵ | Sven Gothel | 2012-11-27 | 1 | -2/+0 |
| | | | | | | | | | from Java ensuring to overwrite other TKs handler SWT sets it's error handler, which exits application in case of an X11 error (e.g. n/a GL3 impl.). We need to allow overwriting it, hence allowing multiple calls (NEWT, GLContext). This patch also makes native NativewindowCommon_x11ErrorHandlerEnable(..) function static. | ||||
* | NativeWindow/Newt X11ErrorHandler enhancement / unification - don't throw ↵ | Sven Gothel | 2012-07-05 | 1 | -0/+44 |
exceptions. Handles also XAWT BadMatch X_SetInputFocus. X11ErrorHandler code now dumps proper information about the opcode and error message and the running Java thread. Having propery "nativewindow.debug.X11Util.XErrorStackDump" or "nativewindow.debug=all' set, a stack trace is dumped. Since the X11ErrorHandler may catch an XAWT error: BadMatch X_SetInputFocus, we cannot throw an exception and better keep running. |