Skip to content
Snippets Groups Projects
Commit 53fd31ef authored by Cédric Roux's avatar Cédric Roux
Browse files

bugfix: hints are not valid anymore after adding a child to a container

parent 88bef83d
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,11 @@ printf("REPACK container %p\n", _this);
return this->common.parent->repack(g, this->common.parent);
}
static void add_child(gui *g, widget *this, widget *child, int position)
static void add_child(gui *g, widget *_this, widget *child, int position)
{
printf("ADD_CHILD container\n");
struct container_widget *this = _this;
this->hints_are_valid = 0;
widget_add_child_internal(g, this, child, position);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment