summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-02-04 22:37:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-02-04 22:37:57 +0000
commit0170a7666a43b14b9d3c1b0b1b733ad14b997316 (patch)
tree3033706a907f89858318dd381933ae80bf336cbe /libs
parent3ce593374063f0d9a7ad72503c09ed11a67278dc (diff)
provide instructional hint for keyeditor; fix keybinding issues on OS X (needs current GTK patch); fix up packaging up OSX native to include VAMP plugins and put control surfaces in (mostly) the right places ; new (improved) arrow key bindings
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3007 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_state.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index d0302ea675..168885ea8e 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -2139,6 +2139,10 @@ Session::template_path ()
string
Session::control_protocol_path ()
{
+ char *p = getenv ("ARDOUR_CONTROL_SURFACE_PATH");
+ if (p && *p) {
+ return p;
+ }
return suffixed_search_path (X_("surfaces"), false);
}