summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-19 03:42:30 +0000
committerDavid Robillard <d@drobilla.net>2013-12-19 03:42:30 +0000
commita07a3a6218471e5f301515b31032d92b0b900d4e (patch)
treea8a3e8a78e01fc41a2d5147dc1072b9562ba5577 /src/JackDriver.cpp
parent30e4c33ba733360dcc571547dfab2fb56d2e191d (diff)
downloadpatchage-a07a3a6218471e5f301515b31032d92b0b900d4e.tar.gz
patchage-a07a3a6218471e5f301515b31032d92b0b900d4e.tar.bz2
patchage-a07a3a6218471e5f301515b31032d92b0b900d4e.zip
FDGL: Improve flow-directed layout.
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5186 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r--src/JackDriver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index a893a3b..b60a5e1 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -167,6 +167,9 @@ JackDriver::create_port_view(Patchage* patchage,
PatchagePort* port = create_port(*parent, jack_port, id);
port->show();
+ if (port->is_input()) {
+ parent->set_is_source(false);
+ }
return port;
}