mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix thinko in handling of cue page context menus
Context menus should (unless there is a very strong reason otherwise) be popped up on button press, not button release. In addition Gtk::Menu::popup() should be given the button ID of the button used, so that it can manage both styles of menu interaction (press/drag/release and press/release/drag/press)
This commit is contained in:
parent
975b01060a
commit
fece4f0ca8
6 changed files with 84 additions and 94 deletions
|
|
@ -84,7 +84,7 @@ private:
|
|||
bool text_event (GdkEvent*, uint64_t);
|
||||
void build ();
|
||||
|
||||
void context_menu (uint64_t idx);
|
||||
void context_menu (GdkEventButton*, uint64_t idx);
|
||||
void get_slots (TriggerList &triggerlist, uint64_t idx);
|
||||
|
||||
void clear_all_triggers(uint64_t idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue