use standard method to identify context click on patch change
This commit is contained in:
parent
e3c4f5fa98
commit
a9b919e877
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user