summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-10 23:58:50 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-10 23:58:50 +0000
commit51a3dce3e8d650b0311d6b0679833a2fd460e73b (patch)
treec549c99cc7cbbce0fac1391797b2c813bdf32bcf /libs
parent648035dba9d6e0b9f98aefadf016cf7d1faa49ee (diff)
Fix fader motion accidentally broken in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8498 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/pixfader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/pixfader.cc b/libs/gtkmm2ext/pixfader.cc
index fa529c9a7e..f36cf6ddb2 100644
--- a/libs/gtkmm2ext/pixfader.cc
+++ b/libs/gtkmm2ext/pixfader.cc
@@ -123,6 +123,7 @@ bool
PixFader::on_button_press_event (GdkEventButton* ev)
{
switch (ev->button) {
+ case 1:
case 2:
add_modal_grab();
grab_loc = (_orien == VERT) ? ev->y : ev->x;