mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Consistently use context-menu button action
This fixes an issue where brining up a menu can directly activate an action in the menu. Notably on macOS. Nathan reports that this may also address #9515 Note: mac touchpads are not affected since right-click there is effectively a "press and hold".
This commit is contained in:
parent
43c5f0ab46
commit
c162aa7aca
22 changed files with 39 additions and 39 deletions
|
|
@ -1745,7 +1745,7 @@ AudioClock::on_button_release_event (GdkEventButton *ev)
|
|||
if (ops_menu == 0) {
|
||||
build_ops_menu ();
|
||||
}
|
||||
ops_menu->popup (1, ev->time);
|
||||
ops_menu->popup (ev->button, ev->time);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue