summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {