store generated canvas positions of boxes. fix for #31 (the first problem)
This commit is contained in:
parent
79362b0ef3
commit
cbc803830c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue