summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchPortModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-08 01:19:22 +0000
committerDavid Robillard <d@drobilla.net>2011-12-08 01:19:22 +0000
commite8158f68d8dd77cd7767080ed85a813199c02554 (patch)
treefb7afd85f8d92a70e4cbfa009f5b563252248051 /src/gui/PatchPortModule.cpp
parent89c181f67cb5ec7373148b438c8db0acee5c7b84 (diff)
downloadingen-e8158f68d8dd77cd7767080ed85a813199c02554.tar.gz
ingen-e8158f68d8dd77cd7767080ed85a813199c02554.tar.bz2
ingen-e8158f68d8dd77cd7767080ed85a813199c02554.zip
Fix node moving (inform user via "moved" signal).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3833 a436a847-0d15-0410-975c-d299462d15a1
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();