From 7bf9f530dbdfcaa8151424908d492ef7c6c05e79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Mar 2014 16:28:31 +0000 Subject: 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 --- src/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.1