diff options
author | Len Ovens <len@ovenwerks.net> | 2017-05-24 13:58:49 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2017-05-24 13:58:49 -0700 |
commit | 2c40b46ca9e1ee23d7e994f529530e8b34bb278e (patch) | |
tree | 7c99ce0501f5bf8d16271e8949708c6f5320fdf3 | |
parent | 1e95ccf07d207ce39bb61269654bd63c185e93b3 (diff) |
OSC: fix return value for successful touch
-rw-r--r-- | libs/surfaces/osc/osc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index d91911935e..c480512b88 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -2343,10 +2343,12 @@ OSC::touch_detect (const char *path, lo_arg **argv, int argc, lo_message msg) //start touch if (control->automation_state() == Touch && !control->touching ()) { control->start_touch (control->session().transport_frame()); + ret = 0; } } else { // end touch control->stop_touch (true, control->session().transport_frame()); + ret = 0; } // just in case some crazy surface starts sending control values before touch FakeTouchMap::iterator x = _touch_timeout.find(control); |