8275131: Exceptions after a touchpad gesture on macOS
Reviewed-by: dmarkov, prr
This commit is contained in:
parent
07b1f1c282
commit
89999f70e0
@ -128,7 +128,7 @@ AWT_NS_WINDOW_IMPLEMENTATION
|
||||
|
||||
// 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user