summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-22 04:35:12 +0000
committerDavid Robillard <d@drobilla.net>2012-04-22 04:35:12 +0000
commit91c3158e31fb55b55eb75951e6e32b4ba5edce93 (patch)
tree745f83de8fde29b2660148c04d55f3ba066cc14c /src
parent6dcf465e422f5b3c96c06b98f870bf86222fcac9 (diff)
downloadganv-91c3158e31fb55b55eb75951e6e32b4ba5edce93.tar.gz
ganv-91c3158e31fb55b55eb75951e6e32b4ba5edce93.tar.bz2
ganv-91c3158e31fb55b55eb75951e6e32b4ba5edce93.zip
Fix control port dragging.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4231 a436a847-0d15-0410-975c-d299462d15a1
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;