summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-26 07:39:03 +0200
committerSven Gothel <[email protected]>2010-10-26 07:39:03 +0200
commitd52181032830acdd5e4069a41ccd0daff5922d8a (patch)
tree2b1b44f7872e14b31c16a6d4d51c0942babdb622 /src/nativewindow
parent18f3a050e31b903ce11dd16783e8343f904cd6ff (diff)
can't enable x11IOErrorHandler without disable
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/impl/NullToolkitLock.java7
-rw-r--r--src/nativewindow/native/x11/Xmisc.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/impl/NullToolkitLock.java b/src/nativewindow/classes/com/jogamp/nativewindow/impl/NullToolkitLock.java
index 5a03cba7f..db4db1126 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/impl/NullToolkitLock.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/impl/NullToolkitLock.java
@@ -41,7 +41,12 @@ public class NullToolkitLock implements ToolkitLock {
protected NullToolkitLock() { }
public final void lock() {
- if(TRACE_LOCK) { System.err.println("NullToolkitLock.lock()"); }
+ if(TRACE_LOCK) {
+ String msg = "NullToolkitLock.lock()";
+ System.err.println(msg);
+ // Throwable t = new Throwable(msg);
+ // t.printStackTrace();
+ }
}
public final void unlock() {
diff --git a/src/nativewindow/native/x11/Xmisc.c b/src/nativewindow/native/x11/Xmisc.c
index 31d57240f..57bc6fc59 100644
--- a/src/nativewindow/native/x11/Xmisc.c
+++ b/src/nativewindow/native/x11/Xmisc.c
@@ -253,7 +253,7 @@ Java_com_jogamp_nativewindow_impl_x11_X11Util_initialize(JNIEnv *env, jclass _un
}
_initClazzAccess(env);
- x11IOErrorHandlerEnable(1, env);
+ // x11IOErrorHandlerEnable(1, env); // JAU FIXME: can't enable without disable
_initialized=1;
}
}