On Tue, 29 Aug 2023 17:10:07 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:
>> src/java.desktop/macosx/native/libawt_lwawt/awt/AWTEvent.m line 294: >> >>> 292: //kCGSFlagsMaskAppleRightAlternateKey, >>> 293: 58, >>> 294: 61, >> >> Looks like the only change required to make right option key working is >> adding in the rightKeyCode (61) here. I don't think it is required to revert >> changes related to`leftAltKeyPressed`. > > This seems correct. I updated it to only include the key code. Re-ran my test > and TestAltUpDown, and both passed still. Updated changes look good. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15432#discussion_r1309148104