summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-03-16 16:28:31 +0000
committerDavid Robillard <d@drobilla.net>2014-03-16 16:28:31 +0000
commit7bf9f530dbdfcaa8151424908d492ef7c6c05e79 (patch)
tree4bba4fb82b556cd9f9e56ae0356112c5cceca9f8 /src
parente9a2fb845bf1fb99daa62168e03989c48c97d33f (diff)
downloadganv-7bf9f530dbdfcaa8151424908d492ef7c6c05e79.tar.gz
ganv-7bf9f530dbdfcaa8151424908d492ef7c6c05e79.tar.bz2
ganv-7bf9f530dbdfcaa8151424908d492ef7c6c05e79.zip
Don't trigger layout when node is selected (fix #959).
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5342 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index 51f49cb..331ac86 100644
--- a/src/node.c
+++ b/src/node.c
@@ -458,9 +458,9 @@ ganv_node_default_event(GanvItem* item,
g_object_get(G_OBJECT(node), "selected", &selected, NULL);
ganv_canvas_ungrab_item(GANV_ITEM(node), event->button.time);
node->impl->grabbed = FALSE;
- ganv_canvas_contents_changed(canvas);
dragging = FALSE;
if (event->button.x != drag_start_x || event->button.y != drag_start_y) {
+ ganv_canvas_contents_changed(canvas);
if (selected) {
ganv_canvas_selection_move_finished(canvas);
} else {