Remove images when reflow happens.

This commit is contained in:
Nicholas Marriott committed 2019-12-09 15:41:56 +00:00
1 parent 2006b7a563
commit cf071ffecd
1 file changed
+3 -1
+3 -1
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