projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c4f5f
)
use standard method to identify context click on patch change
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 22 May 2016 14:19:57 +0000
(10:19 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:44 +0000
(15:30 -0400)
gtk2_ardour/patch_change.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/patch_change.cc
b/gtk2_ardour/patch_change.cc
index c8d003f845dc91bc09a51c17cf115e8ea3fc7156..4006cbdf469b7030ed3bf11d026edf18a4a8dc4a 100644
(file)
--- 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;