summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 54e295f..c383654 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -1093,7 +1093,7 @@ GanvCanvasImpl::port_event(GdkEvent* event, GanvPort* port)
control_start_y = event->button.y_root;
control_start_value = ganv_port_get_control_value(port);
ganv_item_grab(GANV_ITEM(port),
- GDK_BUTTON_RELEASE_MASK,
+ GDK_POINTER_MOTION_MASK|GDK_BUTTON_RELEASE_MASK,
NULL, event->button.time);
}
return true;