diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-25 20:16:04 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-25 20:16:04 +0200 |
commit | 2fa34614d038e61e0c37144d95092c169fe2d0cc (patch) | |
tree | 680d9ec35ebaca93acefa1b091dc6d130f2b6a20 /libs/surfaces/osc | |
parent | bde3edf1c8f5075af5913eaea4dc81b199a17138 (diff) |
Remove unnecessary tests for touch-state
Diffstat (limited to 'libs/surfaces/osc')
-rw-r--r-- | libs/surfaces/osc/osc.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index b1d4b58ab5..09939fdb5a 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -2833,9 +2833,7 @@ OSC::touch_detect (const char *path, const char* types, lo_arg **argv, int argc, if (control) { if (touch) { //start touch - if (control->automation_state() == Touch && !control->touching ()) { - control->start_touch (control->session().transport_frame()); - } + control->start_touch (control->session().transport_frame()); ret = 0; } else { // end touch |