File dialog-1.2-20121230.dif of Package dialog.7641

Index: util.c
===================================================================
--- util.c.orig
+++ util.c
@@ -2115,8 +2115,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;
 		}
 	    }
openSUSE Build Service is sponsored by