diff options
author | Sven Gothel <[email protected]> | 2011-11-26 08:22:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-26 08:22:41 +0100 |
commit | 41d34e1c4594bd1f552dace2b3e1b69889a138fd (patch) | |
tree | 4351c164e98242a513deeebb82127630aba04e56 /src/nativewindow/native | |
parent | f725e45adebfecef7c91b27b2eb3ff69d2399e2a (diff) |
X11Util.shutdown(): Remove x11IOErrorHandler
Diffstat (limited to 'src/nativewindow/native')
-rw-r--r-- | src/nativewindow/native/x11/Xmisc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nativewindow/native/x11/Xmisc.c b/src/nativewindow/native/x11/Xmisc.c index 8b56bca90..d28891cda 100644 --- a/src/nativewindow/native/x11/Xmisc.c +++ b/src/nativewindow/native/x11/Xmisc.c @@ -317,6 +317,11 @@ Java_jogamp_nativewindow_x11_X11Util_initialize0(JNIEnv *env, jclass _unused, jb } JNIEXPORT void JNICALL +Java_jogamp_nativewindow_x11_X11Util_shutdown0(JNIEnv *env, jclass _unused) { + x11IOErrorHandlerEnable(0, env); +} + +JNIEXPORT void JNICALL Java_jogamp_nativewindow_x11_X11Util_setX11ErrorHandler0(JNIEnv *env, jclass _unused, jboolean onoff, jboolean quiet) { x11ErrorHandlerEnableBlocking(env, ( JNI_TRUE == onoff ) ? 1 : 0, ( JNI_TRUE == quiet ) ? 1 : 0); } |