aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-12 21:25:16 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-12 21:25:16 +0000
commit1e8ac9c2f5a36405bc973b7794896b11e259236e (patch)
tree608b2745a7071dac5acdd6e5f528345ee55a7480
parentc1484da73f3ef970b7cb7817afa47a8eeccd7f04 (diff)
fixed variable name for latest version of Pure Data
svn path=/trunk/scripts/guiplugins/simple_examples/; revision=14593
-rw-r--r--insert_into_popup_menu-plugin.tcl2
1 files changed, 1 insertions, 1 deletions
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