diff options
Diffstat (limited to 'src/newt/native')
-rw-r--r-- | src/newt/native/MacWindow.m | 2 | ||||
-rwxr-xr-x | src/newt/native/X11Window.c | 34 |
2 files changed, 1 insertions, 35 deletions
diff --git a/src/newt/native/MacWindow.m b/src/newt/native/MacWindow.m index a4a5da7fc..21bc9b2ad 100644 --- a/src/newt/native/MacWindow.m +++ b/src/newt/native/MacWindow.m @@ -160,7 +160,7 @@ JNIEXPORT jboolean JNICALL Java_com_jogamp_newt_impl_macosx_MacDisplay_initNSApp * Signature: ()V */ JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_macosx_MacDisplay_dispatchMessages0 - (JNIEnv *env, jobject unused, jlong window, jint eventMask) + (JNIEnv *env, jobject unused) { NSEvent* event = NULL; NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 8d5920f65..70fc421e8 100755 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -280,40 +280,6 @@ JNIEXPORT jboolean JNICALL Java_com_jogamp_newt_impl_x11_X11Display_initIDs /* * Class: com_jogamp_newt_impl_x11_X11Display - * Method: LockDisplay - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_x11_X11Display_LockDisplay - (JNIEnv *env, jobject obj, jlong display) -{ - Display * dpy = (Display *)(intptr_t)display; - if(dpy==NULL) { - _FatalError(env, "invalid display connection.."); - } - XLockDisplay(dpy) ; - // DBG_PRINT1( "X11: LockDisplay 0x%X\n", dpy); -} - - -/* - * Class: com_jogamp_newt_impl_x11_X11Display - * Method: UnlockDisplay - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_x11_X11Display_UnlockDisplay - (JNIEnv *env, jobject obj, jlong display) -{ - Display * dpy = (Display *)(intptr_t)display; - if(dpy==NULL) { - _FatalError(env, "invalid display connection.."); - } - XUnlockDisplay(dpy) ; - // DBG_PRINT1( "X11: UnlockDisplay 0x%X\n", dpy); -} - - -/* - * Class: com_jogamp_newt_impl_x11_X11Display * Method: CompleteDisplay * Signature: (J)V */ |