summaryrefslogtreecommitdiff
path: root/gtk2_ardour/hit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/hit.cc')
-rw-r--r--gtk2_ardour/hit.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/hit.cc b/gtk2_ardour/hit.cc
index ab47dee6e8..62d0b0baf6 100644
--- a/gtk2_ardour/hit.cc
+++ b/gtk2_ardour/hit.cc
@@ -125,3 +125,9 @@ Hit::y1 () const
/* bottom vertex */
return _polygon->position().y + _polygon->get()[3].y;
}
+
+void
+Hit::set_ignore_events (bool ignore)
+{
+ _polygon->set_ignore_events (ignore);
+}