From a9b919e877bf89b66d0ff481e70a9caa676d928e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 22 May 2016 10:19:57 -0400 Subject: [PATCH] use standard method to identify context click on patch change --- gtk2_ardour/patch_change.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/patch_change.cc b/gtk2_ardour/patch_change.cc index c8d003f845..4006cbdf46 100644 --- a/gtk2_ardour/patch_change.cc +++ b/gtk2_ardour/patch_change.cc @@ -183,7 +183,7 @@ PatchChange::event_handler (GdkEvent* ev) } } - if (ev->button.button == 3) { + if (Gtkmm2ext::Keyboard::is_context_menu_event (&ev->button)) { if (!_popup_initialized) { initialize_popup_menus(); _popup_initialized = true;