Index: dialog-1.3-20230209/util.c =================================================================== --- dialog-1.3-20230209.orig/util.c +++ dialog-1.3-20230209/util.c @@ -2406,8 +2406,10 @@ dlg_move_window(WINDOW *win, int height, #ifdef HAVE_COLOR if (p->shadow != 0) { if (dialog_state.use_shadow) { + (void) wresize(p->shadow, height, width); (void) mvwin(p->shadow, y + SHADOW_ROWS, x + SHADOW_COLS); } else { + delwin(p->shadow); p->shadow = 0; } }