13
0

fix up middle button mess for redirects

git-svn-id: svn://localhost/ardour2/trunk@1819 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-05-10 11:23:22 +00:00
parent 3f75517610
commit 912fabc42d

View File

@ -339,7 +339,7 @@ RedirectBox::redirect_button_release_event (GdkEventButton *ev)
show_redirect_menu(ev->time);
ret = true;
} else if (redirect && ev->button == 2 && Keyboard::modifier_state_equals (ev->state, Gdk::BUTTON2_MASK)) {
} else if (redirect && (ev->button == 2) && (ev->state == Gdk::BUTTON2_MASK)) {
redirect->set_active (!redirect->active(), this);
ret = true;