diff options
author | Sven Gothel <[email protected]> | 2013-06-17 09:01:23 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-17 09:01:23 +0200 |
commit | 8b33170ec6fd3f215976875cb66d746fa1b48f61 (patch) | |
tree | 3e5c72feb9ed33fc1b81a073f92adb43f21836ce /src/newt/native/XCBEvent.c | |
parent | c24f44036971bf58b5c47a6e1f7d9f186c67e789 (diff) |
Fix Bug 688: Removal of NEWT KeyEvent.EVENT_KEY_TYPED and KeyListener.keyTyped(KeyEvent)
Diffstat (limited to 'src/newt/native/XCBEvent.c')
-rw-r--r-- | src/newt/native/XCBEvent.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/newt/native/XCBEvent.c b/src/newt/native/XCBEvent.c index f067f4b7a..d02d5a4ba 100644 --- a/src/newt/native/XCBEvent.c +++ b/src/newt/native/XCBEvent.c @@ -176,15 +176,9 @@ void XCBEventPoll(JNIEnv *env, jobject obj, Display *dpy, jlong javaObjectAtom, #ifdef USE_SENDIO_DIRECT (*env)->CallVoidMethod(env, jwindow, sendKeyEventID, (jint) EVENT_KEY_RELEASED, modifiers, X11KeySym2NewtVKey(_evt->state), (jchar) keyChar); - - (*env)->CallVoidMethod(env, jwindow, sendKeyEventID, (jint) EVENT_KEY_TYPED, - modifiers, (jint) -1, (jchar) keyChar); #else (*env)->CallVoidMethod(env, jwindow, enqueueKeyEventID, JNI_FALSE, (jint) EVENT_KEY_RELEASED, modifiers, X11KeySym2NewtVKey(_evt->state), (jchar) keyChar); - - (*env)->CallVoidMethod(env, jwindow, enqueueKeyEventID, JNI_FALSE, (jint) EVENT_KEY_TYPED, - modifiers, (jint) -1, (jchar) keyChar); #endif } break; |