projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0f036ff
)
make GTKOSX button2 emulation actually work when clicking on redirect names
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 19 Mar 2009 20:30:45 +0000
(20:30 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 19 Mar 2009 20:30:45 +0000
(20:30 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4873
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/redirect_box.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/redirect_box.cc
b/gtk2_ardour/redirect_box.cc
index 5b624578a99714fcf434d76780daf6799bc5171a..477a2240351a66d988af0389eb88bad44f306c1c 100644
(file)
--- a/
gtk2_ardour/redirect_box.cc
+++ b/
gtk2_ardour/redirect_box.cc
@@
-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 */