summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/x11/Xmisc.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-11-27 19:03:57 +0100
committerSven Gothel <[email protected]>2012-11-27 19:03:57 +0100
commit337ae7842fc9a78196dab9a21eb052b3f4dfc5cd (patch)
tree1f3aa2d1f47be95d06a6dbb202574bfcbe001c33 /src/nativewindow/native/x11/Xmisc.h
parent17dd761d7c2b224f0505a399bf4ecb18634e9250 (diff)
X11Util/Xmisc setX11ErrorHandler: Force setting X11 error handler if invoked 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.
Diffstat (limited to 'src/nativewindow/native/x11/Xmisc.h')
-rw-r--r--src/nativewindow/native/x11/Xmisc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nativewindow/native/x11/Xmisc.h b/src/nativewindow/native/x11/Xmisc.h
index a44da950d..91f2ac5d9 100644
--- a/src/nativewindow/native/x11/Xmisc.h
+++ b/src/nativewindow/native/x11/Xmisc.h
@@ -39,6 +39,4 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-void NativewindowCommon_x11ErrorHandlerEnable(JNIEnv * env, Display *dpy, int onoff, int quiet, int sync);
-
#endif /* Xmisc_h */