--- old/src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m 2018-10-15 17:30:32.000000000 -0700 +++ new/src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m 2018-10-15 17:30:31.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -139,8 +139,7 @@ */ JNIEXPORT void JNICALL Java_sun_lwawt_macosx_CRobot_mouseEvent -(JNIEnv *env, jobject peer, - jint displayID, jint mouseLastX, jint mouseLastY, jint buttonsState, +(JNIEnv *env, jobject peer, jint mouseLastX, jint mouseLastY, jint buttonsState, jboolean isButtonsDownState, jboolean isMouseMove) { JNF_COCOA_ENTER(env);