diff --git a/src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m b/src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m index b3da9255d78a1..2f4d5bffccec1 100644 --- a/src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m +++ b/src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m @@ -66,7 +66,7 @@ static CGEventFlags initFlags; static int allModifiersMask = kCGEventFlagMaskShift | kCGEventFlagMaskControl | kCGEventFlagMaskAlternate | kCGEventFlagMaskCommand - | kCGEventFlagMaskAlphaShift; + | kCGEventFlagMaskAlphaShift | kCGEventFlagMaskSecondaryFn; static inline CGKeyCode GetCGKeyCode(jint javaKeyCode); static inline int GetCGKeyMask(int cgKeyCode);