aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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