From 3c6a7838b1a647b42cc8b37d1a433ed9a1431860 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Thu, 18 Jun 2009 06:50:13 +0000
Subject: - Fix: X11 locking     The current thread default display or     the
 given display is being used,     hence it is no more required to use a
 ToolkitLock     for X11 without AWT.

    Removed X11 ToolkitLock in case of X11 without AWT,
    which is being detected with the absence of the classes
        java.awt.Component _AND_ javax.media.nativewindow.awt.AWTGraphicsDevice
    or with the system property
        java.awt.headless=true

    Only in the Java2D/Swing case, one 'leaking' Display
    is created within canCreateGLPbuffer().

- Workaround for Hotsport bugs #4395095, #6852404
    4395095 JNI access to java.nio DirectBuffer constructor/accessor
    6852404 Race condition in JNI Direct Buffer access and creation routines


- Added build.xml
    -Dbuild.noarchives=true property to skip the time consuming
    creation of zip archives.




git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1988 232f8b59-042b-4e1e-8c03-345bb8c30851
---
 make/stub_includes/x11/window-lib.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'make/stub_includes/x11')

diff --git a/make/stub_includes/x11/window-lib.c b/make/stub_includes/x11/window-lib.c
index 17ddcb1c7..bd03bdcbb 100644
--- a/make/stub_includes/x11/window-lib.c
+++ b/make/stub_includes/x11/window-lib.c
@@ -11,6 +11,8 @@ extern Display *XOpenDisplay(
     _Xconst char*	/* display_name */
 );
 
+extern int XCloseDisplay(Display *display);
+
 extern XVisualInfo *XGetVisualInfo(
     Display*		/* display */,
     long		/* vinfo_mask */,
-- 
cgit v1.2.3