summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-06-08 21:43:38 +0000
committerDavid Robillard <d@drobilla.net>2013-06-08 21:43:38 +0000
commit52ec61f7bf5030e030a946cef0499ac23bba69f7 (patch)
treee617defab82ace859078b2b778593f5d420b3ae1 /src/gui
parent1b38fdcc778ca6b82efc549243d4312645441c50 (diff)
downloadingen-52ec61f7bf5030e030a946cef0499ac23bba69f7.tar.gz
ingen-52ec61f7bf5030e030a946cef0499ac23bba69f7.tar.bz2
ingen-52ec61f7bf5030e030a946cef0499ac23bba69f7.zip
Show right-click menu regradless of modifier state.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5129 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/GraphCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp
index c8eb8de6..591c6fc9 100644
--- a/src/gui/GraphCanvas.cpp
+++ b/src/gui/GraphCanvas.cpp
@@ -577,7 +577,7 @@ GraphCanvas::on_event(GdkEvent* event)
switch (event->type) {
case GDK_BUTTON_PRESS:
- if (!event->button.state && event->button.button == 3) {
+ if (event->button.button == 3) {
_auto_position_count = 0;
_last_click_x = (int)event->button.x;
_last_click_y = (int)event->button.y;