From 56e46acce6d26e0fdc2fd317649b11f1f71f621a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 26 Jun 2011 06:43:46 +0200 Subject: Woraround for bug 502: X11/NEWT Stalling due to libX11/XCB Multithreading bug (libX11 1.4.2, libXCB 1.7; ubuntu 11.04, ..) - https://jogamp.org/bugzilla/show_bug.cgi?id=502 - set the boolean property 'nativewindow.x11.mt-bug' to 'true', indicating the erroneous libX11/libXCB behavior. This will enable extensive X11 locking even in NEWT. --- make/config/nativewindow/win32-CustomJavaCode.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'make/config/nativewindow') diff --git a/make/config/nativewindow/win32-CustomJavaCode.java b/make/config/nativewindow/win32-CustomJavaCode.java index 5d0c82998..e14e4d14c 100644 --- a/make/config/nativewindow/win32-CustomJavaCode.java +++ b/make/config/nativewindow/win32-CustomJavaCode.java @@ -25,6 +25,8 @@ } } + public static boolean requiresToolkitLock() { return false; } + private static RegisteredClass dummyWindowClass = null; private static Object dummyWindowSync = new Object(); -- cgit v1.2.3