Skip to content
Permalink
Browse files
8275131: Exceptions after a touchpad gesture on macOS
Backport-of: 89999f70e06b41704c7c5b0f9a19582f90806a10
  • Loading branch information
Jonathan Dowland authored and TheRealMDoerr committed Oct 19, 2021
1 parent 777ec9b commit 2847e345590336f095fa646901d776feae2e0c88
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 2847e34

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 2847e34 Oct 19, 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.