diff --git a/lib/widget/widget-common.c b/lib/widget/widget-common.c index 6fe525142..33128501d 100644 --- a/lib/widget/widget-common.c +++ b/lib/widget/widget-common.c @@ -281,6 +281,8 @@ widget_set_size (Widget * widget, int y, int x, int lines, int cols) widget->cols = cols; widget->lines = lines; send_message (widget, NULL, MSG_RESIZE, 0, NULL); + if (widget->owner != NULL && widget_get_state (WIDGET (widget->owner), WST_ACTIVE)) + send_message (widget, NULL, MSG_DRAW, 0, NULL); } /* --------------------------------------------------------------------------------------------- */