From 3e1ff3179ae986986d30e5e105279227d7b580c3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 05:08:50 +0000 Subject: Fix drag connecting. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5021 a436a847-0d15-0410-975c-d299462d15a1 --- src/Canvas.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Canvas.cpp b/src/Canvas.cpp index fe353fe..c96a437 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -1269,6 +1269,7 @@ GanvCanvasImpl::port_event(GdkEvent* event, GanvPort* port) g_object_get(G_OBJECT(port), "selected", &selected, NULL); if (!control_dragging && !selected) { g_object_set(G_OBJECT(port), "highlighted", TRUE, NULL); + return true; } break; @@ -1285,6 +1286,7 @@ GanvCanvasImpl::port_event(GdkEvent* event, GanvPort* port) return true; } else if (!control_dragging) { g_object_set(G_OBJECT(port), "highlighted", FALSE, NULL); + return true; } break; -- cgit v1.2.1