Skip to content

Commit

Permalink
8275131: Exceptions after a touchpad gesture on macOS
Browse files Browse the repository at this point in the history
Backport-of: 89999f70e06b41704c7c5b0f9a19582f90806a10
  • Loading branch information
Jonathan Dowland authored and TheRealMDoerr committed Oct 19, 2021
1 parent 777ec9b commit 2847e34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit 2847e34

@openjdk-notifier
Copy link

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.