summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-01 11:57:37 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-01 11:57:37 +0100
commite75c713e5e416fa17db2eb2ba337a334052d1b72 (patch)
tree8fbd28aab5faa6b5827a3c9986b844c3711b2c17 /libs/surfaces
parent0f4530af0d3fbd0d37879c9c15814b63abd47aa9 (diff)
make the leftmost mixer stripable API at least work as advertised
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/control_protocol/control_protocol.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/surfaces/control_protocol/control_protocol.cc b/libs/surfaces/control_protocol/control_protocol.cc
index 675294bbd9..311c2d1081 100644
--- a/libs/surfaces/control_protocol/control_protocol.cc
+++ b/libs/surfaces/control_protocol/control_protocol.cc
@@ -59,6 +59,7 @@ PBD::Signal1<void,StripableNotificationListPtr> ControlProtocol::StripableSelect
Glib::Threads::Mutex ControlProtocol::special_stripable_mutex;
boost::weak_ptr<Stripable> ControlProtocol::_first_selected_stripable;
+boost::weak_ptr<Stripable> ControlProtocol::_leftmost_mixer_stripable;
StripableNotificationList ControlProtocol::_last_selected;
bool ControlProtocol::selection_connected = false;
PBD::ScopedConnection ControlProtocol::selection_connection;
@@ -354,14 +355,14 @@ boost::shared_ptr<Stripable>
ControlProtocol::leftmost_mixer_stripable ()
{
Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
- return _first_selected_stripable.lock();
+ return _leftmost_mixer_stripable.lock();
}
void
ControlProtocol::set_leftmost_mixer_stripable (boost::shared_ptr<Stripable> s)
{
Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
- _first_selected_stripable = s;
+ _leftmost_mixer_stripable = s;
}
void