diff options
author | David Robillard <d@drobilla.net> | 2012-04-22 04:35:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-22 04:35:12 +0000 |
commit | 91c3158e31fb55b55eb75951e6e32b4ba5edce93 (patch) | |
tree | 745f83de8fde29b2660148c04d55f3ba066cc14c /src | |
parent | 6dcf465e422f5b3c96c06b98f870bf86222fcac9 (diff) | |
download | ganv-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.cpp | 2 |
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; |