diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index 01e87850cebe6edc2a7a2606ced20db6b6723444..78b76cb5962aa6c0f2aac9b85a813b3066a33b1e 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -3520,6 +3520,8 @@ static double canvas_upclicktime; static int canvas_upx, canvas_upy; #define DCLICKINTERVAL 0.25 +static int ctrl_runmode_warned; + /* mouse click */ void canvas_doclick(t_canvas *x, int xpos, int ypos, int which, int mod, int doit) @@ -3691,6 +3693,14 @@ void canvas_doclick(t_canvas *x, int xpos, int ypos, int which, if (y) { + /* check for ctrlmod click and give a warning once in the console that + the hotkey for temporary runmode has changed */ + if (!ctrl_runmode_warned && ctrlmod && !rightclick && doit) { + post("\nwarning: The hotkey for temporary run mode has changed. " + "Please press Alt instead of Ctrl to enable it.\n"); + ctrl_runmode_warned = 1; + } + // if we are right-clicking if (rightclick) canvas_rightclick(x, xpos, ypos, y);