diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index 04fd5097e..d630ba936 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -3251,6 +3251,13 @@ public class PGL { peButton = PConstants.RIGHT; } + if (PApplet.platform == PConstants.MACOSX) { + //if (nativeEvent.isPopupTrigger()) { + if ((modifiers & InputEvent.CTRL_MASK) != 0) { + peButton = PConstants.RIGHT; + } + } + float peAmount = peAction == MouseEvent.WHEEL ? nativeEvent.getWheelRotation() : nativeEvent.getClickCount();