Remove images when reflow happens.

pull/3363/head
Nicholas Marriott 2019-12-09 15:41:56 +00:00
parent 2006b7a563
commit cf071ffecd
1 changed files with 3 additions and 1 deletions

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))
screen_resize_y(s, sy);
if (reflow)
if (reflow) {
image_free_all(s);
screen_reflow(s, sx);
}
}
static void