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 | |
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
-rw-r--r-- | gtk2_ardour/redirect_box.cc | 2 | ||||
-rw-r--r-- | svn_revision.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/svn_revision.h b/svn_revision.h index 06531d2966..db39076bc0 100644 --- a/svn_revision.h +++ b/svn_revision.h @@ -1,4 +1,4 @@ #ifndef __ardour_svn_revision_h__ #define __ardour_svn_revision_h__ -static const char* ardour_svn_revision = "1745"; +static const char* ardour_svn_revision = "1795"; #endif |