diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-08 18:21:25 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-08 18:21:25 +0000 |
commit | 81f095fb52c934ea1e30a42a283550990a1c899d (patch) | |
tree | 7cc83765bd6992d7984771f7952943c6da17fdcc /gtk2_ardour/redirect_box.cc | |
parent | 621fd3c3158b65bac6c6c2d5973b17306081ee00 (diff) |
redirect button2 click with non-relevant modifiers should work as if the modifiers are not present
git-svn-id: svn://localhost/ardour2/branches/2.0.1@1796 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/redirect_box.cc')
-rw-r--r-- | gtk2_ardour/redirect_box.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/redirect_box.cc b/gtk2_ardour/redirect_box.cc index e644c690c3..2a69c7ffbb 100644 --- a/gtk2_ardour/redirect_box.cc +++ b/gtk2_ardour/redirect_box.cc @@ -339,7 +339,7 @@ RedirectBox::redirect_button_release_event (GdkEventButton *ev) show_redirect_menu(ev->time); ret = true; - } else if (redirect && ev->button == 2 && ev->state == GDK_BUTTON2_MASK) { + } else if (redirect && ev->button == 2 && Keyboard::modifier_state_equals (ev->state, Gdk::BUTTON2_MASK)) { redirect->set_active (!redirect->active(), this); ret = true; |