summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-04 04:37:14 +0000
committerDavid Robillard <d@drobilla.net>2014-01-04 04:37:14 +0000
commitba39dcc8ff1567b34773060c2d5de7f50f8c8056 (patch)
tree9efa39a4216dd526b539b233f304fcb8c684325b /src
parent41148a45958710b180adfbc849dcb3bf863cfcb0 (diff)
downloadganv-ba39dcc8ff1567b34773060c2d5de7f50f8c8056.tar.gz
ganv-ba39dcc8ff1567b34773060c2d5de7f50f8c8056.tar.bz2
ganv-ba39dcc8ff1567b34773060c2d5de7f50f8c8056.zip
Fix documentation pane.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5256 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 9629cab..9d4558f 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -1502,6 +1502,10 @@ GanvCanvasImpl::port_event(GdkEvent* event, GanvPort* port)
} else if (control_dragging) {
control_dragging = false;
GANV_NODE(port)->impl->grabbed = FALSE;
+ if (event->button.x_root == control_start_x &&
+ event->button.y_root == control_start_y) {
+ select_port_toggle(port, event->button.state);
+ }
} else if (event->button.state & (GDK_SHIFT_MASK|GDK_CONTROL_MASK)) {
select_port_toggle(port, event->button.state);
} else {