summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphCanvas.cpp')
-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;