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:
Paul Davis 2025-04-28 14:26:15 -06:00
parent 975b01060a
commit fece4f0ca8
6 changed files with 84 additions and 94 deletions

View file

@ -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();