summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/RenderArea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Gui/RenderArea.cpp b/src/Gui/RenderArea.cpp
index 2611102..b6686f5 100644
--- a/src/Gui/RenderArea.cpp
+++ b/src/Gui/RenderArea.cpp
@@ -149,8 +149,8 @@ bool RenderArea::onMotionNotifyEvent(GdkEventMotion *event) {
return true;
}
- if(event->state & GDK_BUTTON3_MASK && view)
- view->move(this, xHover - event->x, yHover - event->y);
+ if(view)
+ view->move(this, xHover - event->x, yHover - event->y, event->state);
xHover = event->x;
yHover = event->y;