I don't think that does it as g_editor.c looks like the underlying logic for 
editing a patch (add, remove, move, etc) and doesn't forward the mouse events 
to the objects themselves.

> On Jul 29, 2017, at 1:04 AM, Roman Haefeli <[email protected]> wrote:
> 
> Yeah,  I couldn't figure out what this function is useful for and
> stopped digging further. But reading it made me confident that 'click'
> might doesn't do what I want. In the meantime, Ingo mentioned 'mouse'.
> I guess the corresponding code is found in g_editor.c:
> 
> void canvas_mouse(t_canvas *x, t_floatarg xpos, t_floatarg ypos,
>     t_floatarg which, t_floatarg mod)
> {
>     canvas_doclick(x, xpos, ypos, which, mod, 1);
> }
> 
> 
> Roman

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to