From 1e8ac9c2f5a36405bc973b7794896b11e259236e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 12 Dec 2010 21:25:16 +0000 Subject: fixed variable name for latest version of Pure Data svn path=/trunk/scripts/guiplugins/simple_examples/; revision=14593 --- insert_into_popup_menu-plugin.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insert_into_popup_menu-plugin.tcl b/insert_into_popup_menu-plugin.tcl index 71384f8..04a75d9 100644 --- a/insert_into_popup_menu-plugin.tcl +++ b/insert_into_popup_menu-plugin.tcl @@ -4,7 +4,7 @@ # create the item, then stick it to the canvas using a 'mouseup' message proc popup_create_put {putitem} { pdsend "$::focused_window $putitem" - pdsend "$::focused_window mouseup $::popup_xpix $::popup_ypix 1" + pdsend "$::focused_window mouseup $::popup_xcanvas $::popup_ycanvas 1" } # create our submenu -- cgit v1.2.1