store generated canvas positions of boxes. fix for #31 (the first problem)

This commit is contained in:
Nedko Arnaudov 2009-12-08 00:56:31 +02:00
parent 79362b0ef3
commit cbc803830c
1 changed files with 5 additions and 0 deletions

View File

@ -308,6 +308,11 @@ client_appeared(
return;
}
if (x_str == NULL || y_str == NULL)
{ /* we have generated random value, store it */
module_location_changed(client_ptr, x, y);
}
list_add_tail(&client_ptr->siblings, &graph_canvas_ptr->clients);
}