diff options
Diffstat (limited to 'src/tk/box.c')
-rw-r--r-- | src/tk/box.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tk/box.c b/src/tk/box.c index ced5b3c..10a4ec3 100644 --- a/src/tk/box.c +++ b/src/tk/box.c @@ -132,5 +132,7 @@ mftk_box_new(int container_w, int container_h, int own_w, int own_h, b->bg_color = bg_color; b->child = child; + child->container = w; + return w; } |