Skip to content
Permalink
Browse files
8275131: Exceptions after a touchpad gesture on macOS
Backport-of: 89999f70e06b41704c7c5b0f9a19582f90806a10
  • Loading branch information
prrace committed Oct 17, 2021
1 parent 01f4883 commit ddb89c3573c711b45597691eda1fed7d1a3cec34
Showing 1 changed file with 1 addition and 1 deletion.
@@ -128,7 +128,7 @@ - (void)postGesture:(NSEvent *)event as:(jint)type a:(jdouble)a b:(jdouble)b {

// send up to the GestureHandler to recursively dispatch on the AWT event thread
DECLARE_CLASS(jc_GestureHandler, "com/apple/eawt/event/GestureHandler");
DECLARE_METHOD(sjm_handleGestureFromNative, jc_GestureHandler,
DECLARE_STATIC_METHOD(sjm_handleGestureFromNative, jc_GestureHandler,
"handleGestureFromNative", "(Ljava/awt/Window;IDDDD)V");
(*env)->CallStaticVoidMethod(env, jc_GestureHandler, sjm_handleGestureFromNative,
awtWindow, type, (jdouble)loc.x, (jdouble)loc.y, (jdouble)a, (jdouble)b);

1 comment on commit ddb89c3

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on ddb89c3 Oct 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.