diff --git a/lib/widget/widget-common.c b/lib/widget/widget-common.c index ec01a2c42..39d7fc317 100644 --- a/lib/widget/widget-common.c +++ b/lib/widget/widget-common.c @@ -145,6 +145,7 @@ widget_init (Widget * w, int y, int x, int lines, int cols, w->y = y; w->cols = cols; w->lines = lines; + w->pos_flags = WPOS_KEEP_DEFAULT; w->callback = callback; w->mouse = mouse_handler; w->set_options = widget_default_set_options_callback;