From 91c3158e31fb55b55eb75951e6e32b4ba5edce93 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Apr 2012 04:35:12 +0000 Subject: Fix control port dragging. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4231 a436a847-0d15-0410-975c-d299462d15a1 --- src/Canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1