Fix implicit selection when operating track-header ctrl buttons
authorRobin Gareus <robin@gareus.org>
Wed, 1 Mar 2017 10:54:52 +0000 (11:54 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 1 Mar 2017 10:55:32 +0000 (11:55 +0100)
Stop event propagation. Otherwise, on release the event is passed
up and handled by the TAV which scrolls the editor viewpoint
and the button is no longer under the mouse.

gtk2_ardour/automation_controller.cc

index bf2be7ab0d8ba98afebced581245b72a1968833c..21e6b429cbf3e39ca6a1313261bbf572cc64e11e 100644 (file)
@@ -225,7 +225,7 @@ bool
 AutomationController::button_release (GdkEventButton*)
 {
        end_touch ();
-       return false;
+       return true;
 }
 
 static double