Remove images when reflow happens.

This commit is contained in:
Nicholas Marriott 2019-12-09 15:41:56 +00:00
parent 2006b7a563
commit cf071ffecd

View File

@ -225,8 +225,10 @@ screen_resize(struct screen *s, u_int sx, u_int sy, int reflow)
if (sy != screen_size_y(s)) if (sy != screen_size_y(s))
screen_resize_y(s, sy); screen_resize_y(s, sy);
if (reflow) if (reflow) {
image_free_all(s);
screen_reflow(s, sx); screen_reflow(s, sx);
}
} }
static void static void