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

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