summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchPortModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchPortModule.cpp')
-rw-r--r--src/gui/PatchPortModule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 14edf6c5..4fa11acc 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -86,10 +86,10 @@ PatchPortModule::show_menu(GdkEventButton* ev)
}
void
-PatchPortModule::store_location()
+PatchPortModule::store_location(double ax, double ay)
{
- const Atom x(static_cast<float>(get_x()));
- const Atom y(static_cast<float>(get_y()));
+ const Atom x(static_cast<float>(ax));
+ const Atom y(static_cast<float>(ay));
const URIs& uris = app().uris();