mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(widget_set_size): send MSG_DRAW after MSG_RESIZE.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
240350db95
commit
91c72122a8
@ -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);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user