From 22a80d4ffde54e4d33a4791fd6fd77ed3729f6cb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 21 Mar 2009 13:08:06 +0000 Subject: [PATCH] (from 2.x) make context menu-driven stuff on ruler bars happen in the right place (e.g. new markers) git-svn-id: svn://localhost/ardour2/branches/3.0@4878 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_mouse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 4a24da20bb..7db90c1ac7 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -1123,7 +1123,7 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT case CdMarkerBarItem: case TempoBarItem: case MeterBarItem: - popup_ruler_menu (pixel_to_frame(event->button.x), item_type); + popup_ruler_menu (where, item_type); break; case MarkerItem: