mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 19:36:00 +01:00
make GTKOSX button2 emulation actually work when clicking on redirect names
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4873 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0f036ff5c8
commit
5defd4e5d8
1 changed files with 5 additions and 1 deletions
|
|
@ -346,7 +346,11 @@ RedirectBox::redirect_button_release_event (GdkEventButton *ev)
|
|||
show_redirect_menu(ev->time);
|
||||
ret = true;
|
||||
|
||||
} else if (redirect && Keyboard::is_button2_event (ev) && (Keyboard::no_modifier_keys_pressed (ev) && ((ev->state & Gdk::BUTTON2_MASK) == Gdk::BUTTON2_MASK))) {
|
||||
} else if (redirect && Keyboard::is_button2_event (ev)
|
||||
#ifndef GTKOSX
|
||||
&& (Keyboard::no_modifier_keys_pressed (ev) && ((ev->state & Gdk::BUTTON2_MASK) == Gdk::BUTTON2_MASK))
|
||||
#endif
|
||||
) {
|
||||
|
||||
/* button2-click with no modifiers */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue