mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 02:56:35 +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
|
|
@ -79,7 +79,7 @@ public:
|
|||
void selection_change ();
|
||||
|
||||
private:
|
||||
void context_menu ();
|
||||
void context_menu (GdkEventButton*);
|
||||
|
||||
void clear_all_triggers();
|
||||
void set_all_colors();
|
||||
|
|
@ -127,7 +127,7 @@ public:
|
|||
bool event_handler (GdkEvent*);
|
||||
|
||||
private:
|
||||
void context_menu ();
|
||||
void context_menu (GdkEventButton*);
|
||||
|
||||
void get_boxen (TriggerBoxList &boxlist);
|
||||
void clear_all_triggers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue